Searched refs:ConstantFoldCastInstruction (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantFold.h | 34 Constant *ConstantFoldCastInstruction(
|
| H A D | ConstantFolder.h | 181 return ConstantFoldCastInstruction(Op, C, DestTy); in FoldCast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 187 : 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 D | Constants.cpp | 1943 if (Constant *FC = ConstantFoldCastInstruction(opc, C, Ty)) in getFoldedCast()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 397 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 D | LibCallsShrinkWrap.cpp | 104 V = ConstantFoldCastInstruction(Instruction::FPExt, V, Arg->getType()); in createCond()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1467 return ConstantFoldCastInstruction(Opcode, C, DestTy); in ConstantFoldCastOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 333 return ConstantFoldCastInstruction(Instruction::FPTrunc, C, &Ty); in getWithType()
|