/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilderFolder.h | 74 virtual Value *FoldCast(Instruction::CastOps Op, Value *V,
|
H A D | InstrTypes.h | 547 Instruction::CastOps, ///< The opcode of the cast instruction 643 static Instruction::CastOps getCastOpcode( 665 Instruction::CastOps Opcode, ///< Opcode of cast 683 Instruction::CastOps firstOpcode, ///< Opcode of first cast 684 Instruction::CastOps secondOpcode, ///< Opcode of second cast 694 Instruction::CastOps getOpcode() const { 695 return Instruction::CastOps(Instruction::getOpcode()); 707 static bool castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy); 708 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) {
|
H A D | NoFolder.h | 110 Value *FoldCast(Instruction::CastOps Op, Value *V, in FoldCast()
|
H A D | ConstantFolder.h | 173 Value *FoldCast(Instruction::CastOps Op, Value *V, in FoldCast()
|
H A D | ConstantRange.h | 358 ConstantRange castOp(Instruction::CastOps CastOp,
|
H A D | IRBuilder.h | 2143 Instruction::CastOps CastOp = 2151 Instruction::CastOps CastOp = 2159 Instruction::CastOps CastOp = 2166 Value *CreateCast(Instruction::CastOps Op, Value *V, Type *DestTy, 2203 Instruction::CastOps CastOp = 2223 Instruction::CastOps CastOp =
|
H A D | Instruction.h | 973 enum CastOps {
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.cpp | 144 std::optional<Instruction::CastOps> CastOp; in simplifyNvvmIntrinsic() 161 SimplifyAction(Instruction::CastOps CastOp) : CastOp(CastOp) {} in simplifyNvvmIntrinsic()
|
H A D | NVPTXGenericToNVVM.cpp | 267 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Float2Int.cpp | 175 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkBackwards() 284 auto CastOp = (Instruction::CastOps)I->getOpcode(); in calcRange()
|
H A D | InferAddressSpaces.cpp | 294 return CastInst::isNoopCast(Instruction::CastOps(I2P->getOpcode()), in isNoopPtrIntCastPair() 297 CastInst::isNoopCast(Instruction::CastOps(P2I->getOpcode()), in isNoopPtrIntCastPair()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | InstSimplifyFolder.h | 115 Value *FoldCast(Instruction::CastOps Op, Value *V, in FoldCast()
|
H A D | TargetFolder.h | 184 Value *FoldCast(Instruction::CastOps Op, Value *V, in FoldCast()
|
H A D | ValueTracking.h | 1160 Instruction::CastOps *CastOp = nullptr, 1177 Instruction::CastOps *CastOp = nullptr, unsigned Depth = 0);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 57 Instruction::CastOps firstOp = Instruction::CastOps(Op->getOpcode()); in foldConstantCastPair() 58 Instruction::CastOps secondOp = Instruction::CastOps(opc); in foldConstantCastPair()
|
H A D | Instructions.cpp | 2717 bool CastInst::isNoopCast(Instruction::CastOps Opcode, in isNoopCast() 2760 Instruction::CastOps firstOp, Instruction::CastOps secondOp, in isEliminableCastPair() 2972 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create() 3065 Instruction::CastOps opcode = in CreateIntegerCast() 3079 Instruction::CastOps opcode = in CreateFPCast() 3146 Instruction::CastOps 3250 CastInst::castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy) { in castIsValid()
|
H A D | Constants.cpp | 2166 static Constant *getFoldedCast(Instruction::CastOps opc, Constant *C, Type *Ty, in getFoldedCast() 2186 Instruction::CastOps opc = Instruction::CastOps(oc); in getCast() 3377 return CastInst::Create((Instruction::CastOps)getOpcode(), Ops[0], in getAsInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 90 static_cast<Instruction::CastOps>(Opc), I->getOperand(0), Ty); in EvaluateInDifferentType() 125 Instruction::CastOps 132 Instruction::CastOps firstOp = CI1->getOpcode(); in isEliminableCastPair() 133 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair() 150 return Instruction::CastOps(Res); in isEliminableCastPair() 164 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms() 652 Instruction::CastOps Opcode = Trunc.getOpcode(); in shrinkInsertElt() 1664 CastInst::CastOps Opcode = I.getOpcode(); in isKnownExactCastIntToFP()
|
H A D | InstCombineInternal.h | 409 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.h | 444 Value *ReuseOrCreateCast(Value *V, Type *Ty, Instruction::CastOps Op,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlan.h | 1441 Instruction::CastOps Opcode; 1447 VPWidenCastRecipe(Instruction::CastOps Opcode, VPValue *Op, Type *ResultTy, in VPWidenCastRecipe() 1455 VPWidenCastRecipe(Instruction::CastOps Opcode, VPValue *Op, Type *ResultTy) in VPWidenCastRecipe() 1480 Instruction::CastOps getOpcode() const { return Opcode; } in getOpcode() 1488 Instruction::CastOps Opcode; 1495 VPScalarCastRecipe(Instruction::CastOps Opcode, VPValue *Op, Type *ResultTy) in VPScalarCastRecipe()
|
H A D | VectorCombine.cpp | 1502 Instruction::CastOps Opcode = C0->getOpcode(); in foldShuffleOfCastops() 1817 auto *Value = Builder.CreateCast((Instruction::CastOps)CI->getOpcode(), in generateNewInstTree() 2150 (Instruction::CastOps)cast<Instruction>(ReductionSrc)->getOpcode(); in foldCastFromReductions()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 540 IsSigned ? Instruction::CastOps::SExt : Instruction::CastOps::ZExt; in simplifyX86pmulh() 605 IsPMADDWD ? Instruction::CastOps::SExt : Instruction::CastOps::ZExt; in simplifyX86pmadd() 608 RHSLo = Builder.CreateCast(Instruction::CastOps::SExt, RHSLo, ResTy); in simplifyX86pmadd() 609 RHSHi = Builder.CreateCast(Instruction::CastOps::SExt, RHSHi, ResTy); in simplifyX86pmadd()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Lint.cpp | 674 if (CastInst::isNoopCast(Instruction::CastOps(CE->getOpcode()), in findValueImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 89 Instruction::CastOps Op, in ReuseOrCreateCast() 196 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); in InsertNoopCastOfTo()
|