Home
last modified time | relevance | path

Searched refs:IsConstantOffsetFromGlobal (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/Analysis/
DConstantFolding.h37 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset,
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp183 static bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, in IsConstantOffsetFromGlobal() function
198 return IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD); in IsConstantOffsetFromGlobal()
209 if (!IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD)) in IsConstantOffsetFromGlobal()
394 if (!IsConstantOffsetFromGlobal(C, GVal, Offset, TD)) in FoldReinterpretLoadFromConstPtr()
530 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, *TD)) in SymbolicallyEvaluateBinop()
531 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, *TD) && in SymbolicallyEvaluateBinop()
/external/llvm/lib/Analysis/
DConstantFolding.cpp242 bool llvm::IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, in IsConstantOffsetFromGlobal() function in llvm
258 return IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, DL); in IsConstantOffsetFromGlobal()
269 if (!IsConstantOffsetFromGlobal(CE->getOperand(0), GV, TmpOffset, DL)) in IsConstantOffsetFromGlobal()
446 if (!IsConstantOffsetFromGlobal(C, GVal, OffsetAI, DL)) in FoldReinterpretLoadFromConstPtr()
674 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, DL)) in SymbolicallyEvaluateBinop()
675 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
DInstructionSimplify.cpp3895 if (!IsConstantOffsetFromGlobal(Ptr, PtrSym, PtrOffset, DL)) in SimplifyRelativeLoad()
3939 if (!IsConstantOffsetFromGlobal(LoadedRHS, LoadedRHSSym, LoadedRHSOffset, in SimplifyRelativeLoad()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1840 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant()
1844 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()