LLVM API Documentation
#include "llvm/Transforms/Utils/BasicBlockUtils.h"#include "llvm/Function.h"#include "llvm/Instructions.h"#include "llvm/IntrinsicInst.h"#include "llvm/LLVMContext.h"#include "llvm/Constant.h"#include "llvm/Type.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/Analysis/LoopInfo.h"#include "llvm/Analysis/Dominators.h"#include "llvm/Target/TargetData.h"#include "llvm/Transforms/Utils/Local.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/ValueHandle.h"#include <algorithm>
Go to the source code of this file.
AreEquivalentAddressValues - Test if A and B will obviously have the same value. This includes recognizing that t0 and t1 will have the same value in code like this: t0 = getelementptr @a, 0, 3 store i32 0, i32* t0 t1 = getelementptr @a, 0, 3 t2 = load i32* t1
Definition at line 503 of file BasicBlockUtils.cpp.
Referenced by llvm::FindAvailableLoadedValue().