Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp538 Value *VariableIdx = GEP->getOperand(i); in EvaluateGEPOffsetExpression() local
569 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in EvaluateGEPOffsetExpression()
570 VariableIdx = IC.Builder->CreateTrunc(VariableIdx, IntPtrTy); in EvaluateGEPOffsetExpression()
572 return VariableIdx; in EvaluateGEPOffsetExpression()
591 if (VariableIdx->getType() != IntPtrTy) in EvaluateGEPOffsetExpression()
592 VariableIdx = IC.Builder->CreateIntCast(VariableIdx, IntPtrTy, in EvaluateGEPOffsetExpression()
595 return IC.Builder->CreateAdd(VariableIdx, OffsetVal, "offset"); in EvaluateGEPOffsetExpression()