Home
last modified time | relevance | path

Searched refs:ConstantFoldCastInstruction (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFold.h34 Constant *ConstantFoldCastInstruction(
H A DConstantFolder.h181 return ConstantFoldCastInstruction(Op, C, DestTy); in FoldCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp187 : ConstantFoldCastInstruction(opc, V, DestTy); in foldMaybeUndesirableCast()
190 Constant *llvm::ConstantFoldCastInstruction(unsigned opc, Constant *V, in ConstantFoldCastInstruction() function in llvm
1519 Idx0 = ConstantFoldCastInstruction(Instruction::SExt, Idx0, CommonTy); in foldGEPOfGEP()
1522 ConstantFoldCastInstruction(Instruction::SExt, LastIdx, CommonTy); in foldGEPOfGEP()
1710 ConstantFoldCastInstruction(Instruction::SExt, PrevIdx, ExtendedTy); in ConstantFoldGetElementPtr()
1713 Div = ConstantFoldCastInstruction(Instruction::SExt, Div, ExtendedTy); in ConstantFoldGetElementPtr()
H A DConstants.cpp1943 if (Constant *FC = ConstantFoldCastInstruction(opc, C, Ty)) in getFoldedCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp397 VecIndex = ConstantFoldCastInstruction(Instruction::Trunc, VecIndexC, VecIntPtrTy); in determineBaseAndStride()
399 VecIndex = ConstantFoldCastInstruction(Instruction::SExt, VecIndexC, VecIntPtrTy); in determineBaseAndStride()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp104 V = ConstantFoldCastInstruction(Instruction::FPExt, V, Arg->getType()); in createCond()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1467 return ConstantFoldCastInstruction(Opcode, C, DestTy); in ConstantFoldCastOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp333 return ConstantFoldCastInstruction(Instruction::FPTrunc, C, &Ty); in getWithType()