Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1021 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument
1024 FoldedValue = Ld; in isFoldableLoad()
1040 FoldedValue = UserI; in isFoldableLoad()
1047 UserI->getOperand(1) != FoldedValue) in isFoldableLoad()
1121 const Instruction *FoldedValue = nullptr; in getMemoryOpCost() local
1122 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()
H A DSystemZTargetTransformInfo.h112 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DConstantFolding.cpp1419 Constant *FoldedValue = nullptr; in ConstantFoldCastOperand() local
1424 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()