Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1071 isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue) { in isFoldableLoad() argument
1074 FoldedValue = Ld; in isFoldableLoad()
1090 FoldedValue = UserI; in isFoldableLoad()
1097 UserI->getOperand(1) != FoldedValue) in isFoldableLoad()
1172 const Instruction *FoldedValue = nullptr; in getMemoryOpCost() local
1173 if (isFoldableLoad(cast<LoadInst>(I), FoldedValue)) { in getMemoryOpCost()
1174 const Instruction *UserI = cast<Instruction>(*FoldedValue->user_begin()); in getMemoryOpCost()
1180 if (UserI->getOperand(i) == FoldedValue) in getMemoryOpCost()
1189 if (OtherLoad && isFoldableLoad(OtherLoad, FoldedValue/*dummy*/)) in getMemoryOpCost()
H A DSystemZTargetTransformInfo.h116 bool isFoldableLoad(const LoadInst *Ld, const Instruction *&FoldedValue);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1394 Constant *FoldedValue = nullptr; in ConstantFoldCastOperand() local
1399 FoldedValue = ConstantFoldIntegerCast(CE->getOperand(0), in ConstantFoldCastOperand()
1411 FoldedValue = ConstantInt::get(CE->getContext(), BaseOffset); in ConstantFoldCastOperand()
1422 FoldedValue = ConstantExpr::getSub( in ConstantFoldCastOperand()
1427 if (FoldedValue) { in ConstantFoldCastOperand()
1429 return ConstantFoldIntegerCast(FoldedValue, DestTy, /*IsSigned=*/false, in ConstantFoldCastOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp561 Constant *FoldedValue = IsLog ? ConstantFP::getInfinity(Ty, true) in instCombineIntrinsic() local
563 return IC.replaceInstUsesWith(II, FoldedValue); in instCombineIntrinsic()