Searched refs:FoldedValue (Results 1 – 4 of 4) sorted by relevance
1216 const Instruction *&FoldedValue) const { in isFoldableLoad()1219 FoldedValue = Ld; in isFoldableLoad()1235 FoldedValue = UserI; in isFoldableLoad()1242 UserI->getOperand(1) != FoldedValue) in isFoldableLoad()1317 const Instruction *FoldedValue = nullptr; in getMemoryOpCost() local1318 if (isFoldableLoad(cast<LoadInst>(I), FoldedValue)) { in getMemoryOpCost()1319 const Instruction *UserI = cast<Instruction>(*FoldedValue->user_begin()); in getMemoryOpCost()1325 if (UserI->getOperand(i) == FoldedValue) in getMemoryOpCost()1334 if (OtherLoad && isFoldableLoad(OtherLoad, FoldedValue/*dummy*/)) in getMemoryOpCost()
126 const Instruction *&FoldedValue) const;
1488 Constant *FoldedValue = nullptr; in ConstantFoldCastOperand() local1493 FoldedValue = ConstantFoldIntegerCast(CE->getOperand(0), in ConstantFoldCastOperand()1505 FoldedValue = ConstantInt::get(CE->getContext(), BaseOffset); in ConstantFoldCastOperand()1516 FoldedValue = ConstantExpr::getSub( in ConstantFoldCastOperand()1521 if (FoldedValue) { in ConstantFoldCastOperand()1523 return ConstantFoldIntegerCast(FoldedValue, DestTy, /*IsSigned=*/false, in ConstantFoldCastOperand()
761 Constant *FoldedValue = IsLog ? ConstantFP::getInfinity(Ty, true) in instCombineIntrinsic() local763 return IC.replaceInstUsesWith(II, FoldedValue); in instCombineIntrinsic()