Home
last modified time | relevance | path

Searched refs:CastOps (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h453 Instruction::CastOps, ///< The opcode of the cast instruction
466 Instruction::CastOps, ///< The opcode for the cast instruction
619 static Instruction::CastOps getCastOpcode(
648 Instruction::CastOps Opcode, ///< Opcode of cast
666 Instruction::CastOps firstOpcode, ///< Opcode of first cast
667 Instruction::CastOps secondOpcode, ///< Opcode of second cast
677 Instruction::CastOps getOpcode() const {
678 return Instruction::CastOps(Instruction::getOpcode());
690 static bool castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy);
691 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) {
H A DIRBuilderFolder.h98 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
H A DConstantRange.h314 ConstantRange castOp(Instruction::CastOps CastOp,
H A DConstantFolder.h188 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
H A DNoFolder.h222 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
H A DInstruction.h801 enum CastOps {
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp143 Optional<Instruction::CastOps> CastOp; in simplifyNvvmIntrinsic()
156 SimplifyAction(Instruction::CastOps CastOp) : CastOp(CastOp) {} in simplifyNvvmIntrinsic()
H A DNVPTXGenericToNVVM.cpp306 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp209 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkBackwards()
284 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkForwards()
H A DInferAddressSpaces.cpp261 return CastInst::isNoopCast(Instruction::CastOps(I2P->getOpcode()), in isNoopPtrIntCastPair()
264 CastInst::isNoopCast(Instruction::CastOps(P2I->getOpcode()), in isNoopPtrIntCastPair()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h713 Instruction::CastOps *CastOp = nullptr,
730 Instruction::CastOps *CastOp = nullptr, unsigned Depth = 0);
H A DTargetFolder.h176 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h227 GenericValue executeCastOperation(Instruction::CastOps opcode, Value *SrcVal,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp249 Instruction::CastOps
256 Instruction::CastOps firstOp = CI1->getOpcode(); in isEliminableCastPair()
257 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair()
274 return Instruction::CastOps(Res); in isEliminableCastPair()
284 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms()
720 Instruction::CastOps Opcode = Trunc.getOpcode(); in shrinkInsertElt()
1701 CastInst::CastOps Opcode = I.getOpcode(); in isKnownExactCastIntToFP()
H A DInstCombineInternal.h342 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
H A DInstCombineSelect.cpp314 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in foldSelectOpOp()
1950 return CastInst::Create(Instruction::CastOps(ExtOpcode), NewSel, SelType); in foldSelectExtConst()
2965 Instruction::CastOps CastOp; in visitSelectInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2701 bool CastInst::isNoopCast(Instruction::CastOps Opcode, in isNoopCast()
2744 Instruction::CastOps firstOp, Instruction::CastOps secondOp, in isEliminableCastPair()
2966 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create()
2988 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create()
3139 Instruction::CastOps opcode = in CreateIntegerCast()
3153 Instruction::CastOps opcode = in CreateIntegerCast()
3167 Instruction::CastOps opcode = in CreateFPCast()
3180 Instruction::CastOps opcode = in CreateFPCast()
3247 Instruction::CastOps
3351 CastInst::castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy) { in castIsValid()
H A DConstantFold.cpp98 Instruction::CastOps firstOp = Instruction::CastOps(Op->getOpcode()); in foldConstantCastPair()
99 Instruction::CastOps secondOp = Instruction::CastOps(opc); in foldConstantCastPair()
H A DConstants.cpp1960 static Constant *getFoldedCast(Instruction::CastOps opc, Constant *C, Type *Ty, in getFoldedCast()
1980 Instruction::CastOps opc = Instruction::CastOps(oc); in getCast()
2066 Instruction::CastOps opcode = in getIntegerCast()
2080 Instruction::CastOps opcode = in getFPCast()
3503 return CastInst::Create((Instruction::CastOps)getOpcode(), in getAsInstruction()
H A DConstantRange.cpp647 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, in castOp()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h429 Value *ReuseOrCreateCast(Value *V, Type *Ty, Instruction::CastOps Op,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLint.cpp680 if (CastInst::isNoopCast(Instruction::CastOps(CE->getOpcode()), in findValueImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp51 Instruction::CastOps Op, in ReuseOrCreateCast()
158 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); in InsertNoopCastOfTo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3314 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in parseValID()
3318 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in parseValID()
6752 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in parseCast()
6753 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in parseCast()
6758 Inst = CastInst::Create((Instruction::CastOps)Opc, Op, DestTy); in parseCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1027 Instruction::CastOps CastOp = Instruction::ZExt; in expandAtomicRMWToMaskedIntrinsic()

12