/external/llvm/include/llvm/Analysis/ |
D | ConstantFolding.h | 37 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ConstantFolding.h | 40 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset,
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ConstantFolding.cpp | 183 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/ |
D | ConstantFolding.cpp | 242 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()
|
D | InstructionSimplify.cpp | 3895 if (!IsConstantOffsetFromGlobal(Ptr, PtrSym, PtrOffset, DL)) in SimplifyRelativeLoad() 3939 if (!IsConstantOffsetFromGlobal(LoadedRHS, LoadedRHSSym, LoadedRHSOffset, in SimplifyRelativeLoad()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 285 bool llvm::IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, in IsConstantOffsetFromGlobal() function in llvm 301 return IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, DL); in IsConstantOffsetFromGlobal() 312 if (!IsConstantOffsetFromGlobal(CE->getOperand(0), GV, TmpOffset, DL)) in IsConstantOffsetFromGlobal() 524 if (!IsConstantOffsetFromGlobal(C, GVal, OffsetAI, DL)) in FoldReinterpretLoadFromConstPtr() 718 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, DL)) in SymbolicallyEvaluateBinop() 719 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
|
D | InstructionSimplify.cpp | 4635 if (!IsConstantOffsetFromGlobal(Ptr, PtrSym, PtrOffset, DL)) in SimplifyRelativeLoad() 4679 if (!IsConstantOffsetFromGlobal(LoadedRHS, LoadedRHSSym, LoadedRHSOffset, in SimplifyRelativeLoad()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1840 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant() 1844 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 2140 if (IsConstantOffsetFromGlobal(CE->getOperand(0), LHSGV, LHSOffset, in lowerConstant() 2144 if (IsConstantOffsetFromGlobal(CE->getOperand(1), RHSGV, RHSOffset, in lowerConstant()
|