Searched refs:IsConstantOffsetFromGlobal (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 220 static bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, in IsConstantOffsetFromGlobal() function 235 return IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD); in IsConstantOffsetFromGlobal() 246 if (!IsConstantOffsetFromGlobal(CE->getOperand(0), GV, Offset, TD)) in IsConstantOffsetFromGlobal() 421 if (!IsConstantOffsetFromGlobal(C, GVal, Offset, TD)) in FoldReinterpretLoadFromConstPtr() 557 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, *TD)) in SymbolicallyEvaluateBinop() 558 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, *TD) && in SymbolicallyEvaluateBinop()
|