Searched refs:FoldedValue (Results 1 – 3 of 3) sorted by relevance
1021 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument1024 FoldedValue = Ld; in isFoldableLoad()1040 FoldedValue = UserI; in isFoldableLoad()1047 UserI->getOperand(1) != FoldedValue) in isFoldableLoad()1121 const Instruction *FoldedValue = nullptr; in getMemoryOpCost() local1122 if (isFoldableLoad(cast<LoadInst>(I), FoldedValue)) { in getMemoryOpCost()1123 const Instruction *UserI = cast<Instruction>(*FoldedValue->user_begin()); in getMemoryOpCost()1129 if (UserI->getOperand(i) == FoldedValue) in getMemoryOpCost()1138 if (OtherLoad && isFoldableLoad(OtherLoad, FoldedValue/*dummy*/)) in getMemoryOpCost()
112 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);
1419 Constant *FoldedValue = nullptr; in ConstantFoldCastOperand() local1424 FoldedValue = ConstantExpr::getIntegerCast( in ConstantFoldCastOperand()1436 FoldedValue = ConstantInt::get(CE->getContext(), BaseOffset); in ConstantFoldCastOperand()1447 FoldedValue = ConstantExpr::getSub( in ConstantFoldCastOperand()1452 if (FoldedValue) { in ConstantFoldCastOperand()1454 return ConstantExpr::getIntegerCast(FoldedValue, DestTy, in ConstantFoldCastOperand()