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.cpp1216 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() local
1318 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()
H A DSystemZTargetTransformInfo.h126 const Instruction *&FoldedValue) const;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1488 Constant *FoldedValue = nullptr; in ConstantFoldCastOperand() local
1493 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp761 Constant *FoldedValue = IsLog ? ConstantFP::getInfinity(Ty, true) in instCombineIntrinsic() local
763 return IC.replaceInstUsesWith(II, FoldedValue); in instCombineIntrinsic()