Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstrTypes.h451 Instruction::CastOps, ///< The opcode of the cast instruction
464 Instruction::CastOps, ///< The opcode for the cast instruction
617 static Instruction::CastOps getCastOpcode(
646 Instruction::CastOps Opcode, ///< Opcode of cast
664 Instruction::CastOps firstOpcode, ///< Opcode of first cast
665 Instruction::CastOps secondOpcode, ///< Opcode of second cast
675 Instruction::CastOps getOpcode() const {
676 return Instruction::CastOps(Instruction::getOpcode());
688 static bool castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy);
689 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) {
H A DIRBuilderFolder.h77 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
H A DNoFolder.h114 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
H A DConstantRange.h350 ConstantRange castOp(Instruction::CastOps CastOp,
H A DConstantFolder.h177 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
H A DInstruction.h823 enum CastOps {
/openbsd-src/gnu/llvm/llvm/utils/
H A Dllvm.grm61 CastOps ::= trunc | zext | sext | fptrunc | fpext | bitcast |
247 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
396 | CastOps ResolvedVal to Types
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp144 std::optional<Instruction::CastOps> CastOp; in simplifyNvvmIntrinsic()
161 SimplifyAction(Instruction::CastOps CastOp) : CastOp(CastOp) {} in simplifyNvvmIntrinsic()
H A DNVPTXGenericToNVVM.cpp290 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp207 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkBackwards()
316 auto CastOp = (Instruction::CastOps)I->getOpcode(); in calcRange()
H A DInferAddressSpaces.cpp284 return CastInst::isNoopCast(Instruction::CastOps(I2P->getOpcode()), in INITIALIZE_PASS_DEPENDENCY()
287 CastInst::isNoopCast(Instruction::CastOps(P2I->getOpcode()), in INITIALIZE_PASS_DEPENDENCY()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DValueTracking.h746 Instruction::CastOps *CastOp = nullptr,
763 Instruction::CastOps *CastOp = nullptr, unsigned Depth = 0);
H A DInstSimplifyFolder.h119 Value *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
H A DTargetFolder.h188 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h227 GenericValue executeCastOperation(Instruction::CastOps opcode, Value *SrcVal,
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp253 static_cast<Instruction::CastOps>(Opc), I->getOperand(0), Ty); in EvaluateInDifferentType()
264 Instruction::CastOps
271 Instruction::CastOps firstOp = CI1->getOpcode(); in isEliminableCastPair()
272 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair()
289 return Instruction::CastOps(Res); in isEliminableCastPair()
299 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms()
776 Instruction::CastOps Opcode = Trunc.getOpcode(); in shrinkInsertElt()
1723 CastInst::CastOps Opcode = I.getOpcode(); in isKnownExactCastIntToFP()
H A DInstCombineInternal.h346 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
H A DInstCombineCalls.cpp2807 Instruction::CastOps ExtOpc = Instruction::CastOps::CastOpsEnd; in visitCallInst()
2811 (ExtOpc == Instruction::CastOps::ZExt)) in visitCallInst()
3600 Instruction::CastOps opcode = in transformConstExprCastCall()
H A DInstCombineSelect.cpp313 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in foldSelectOpOp()
2048 return CastInst::Create(Instruction::CastOps(ExtOpcode), NewSel, SelType); in foldSelectExtConst()
3271 Instruction::CastOps CastOp; in visitSelectInst()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DInstructions.cpp3087 bool CastInst::isNoopCast(Instruction::CastOps Opcode, in isNoopCast()
3130 Instruction::CastOps firstOp, Instruction::CastOps secondOp, in isEliminableCastPair()
3354 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create()
3376 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create()
3527 Instruction::CastOps opcode = in CreateIntegerCast()
3541 Instruction::CastOps opcode = in CreateIntegerCast()
3555 Instruction::CastOps opcode = in CreateFPCast()
3568 Instruction::CastOps opcode = in CreateFPCast()
3635 Instruction::CastOps
3739 CastInst::castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy) { in castIsValid()
H A DConstantFold.cpp96 Instruction::CastOps firstOp = Instruction::CastOps(Op->getOpcode()); in foldConstantCastPair()
97 Instruction::CastOps secondOp = Instruction::CastOps(opc); in foldConstantCastPair()
H A DConstants.cpp1955 static Constant *getFoldedCast(Instruction::CastOps opc, Constant *C, Type *Ty, in getFoldedCast()
1975 Instruction::CastOps opc = Instruction::CastOps(oc); in getCast()
2072 Instruction::CastOps opcode = in getIntegerCast()
2086 Instruction::CastOps opcode = in getFPCast()
3441 return CastInst::Create((Instruction::CastOps)getOpcode(), Ops[0], in getAsInstruction()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h434 Value *ReuseOrCreateCast(Value *V, Type *Ty, Instruction::CastOps Op,
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLint.cpp685 if (CastInst::isNoopCast(Instruction::CastOps(CE->getOpcode()), in findValueImpl()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp50 Instruction::CastOps Op, in ReuseOrCreateCast()
157 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); in InsertNoopCastOfTo()

12