Searched refs:VariableIdx (Results 1 – 1 of 1) sorted by relevance
538 Value *VariableIdx = GEP->getOperand(i); in EvaluateGEPOffsetExpression() local569 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()