| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 451 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 D | IRBuilderFolder.h | 77 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
|
| H A D | NoFolder.h | 114 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
|
| H A D | ConstantRange.h | 350 ConstantRange castOp(Instruction::CastOps CastOp,
|
| H A D | ConstantFolder.h | 177 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
|
| H A D | Instruction.h | 823 enum CastOps {
|
| /openbsd-src/gnu/llvm/llvm/utils/ |
| H A D | llvm.grm | 61 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 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 | 290 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 207 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkBackwards() 316 auto CastOp = (Instruction::CastOps)I->getOpcode(); in calcRange()
|
| H A D | InferAddressSpaces.cpp | 284 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 D | ValueTracking.h | 746 Instruction::CastOps *CastOp = nullptr, 763 Instruction::CastOps *CastOp = nullptr, unsigned Depth = 0);
|
| H A D | InstSimplifyFolder.h | 119 Value *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
|
| H A D | TargetFolder.h | 188 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 227 GenericValue executeCastOperation(Instruction::CastOps opcode, Value *SrcVal,
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 253 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 D | InstCombineInternal.h | 346 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
|
| H A D | InstCombineCalls.cpp | 2807 Instruction::CastOps ExtOpc = Instruction::CastOps::CastOpsEnd; in visitCallInst() 2811 (ExtOpc == Instruction::CastOps::ZExt)) in visitCallInst() 3600 Instruction::CastOps opcode = in transformConstExprCastCall()
|
| H A D | InstCombineSelect.cpp | 313 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 D | Instructions.cpp | 3087 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 D | ConstantFold.cpp | 96 Instruction::CastOps firstOp = Instruction::CastOps(Op->getOpcode()); in foldConstantCastPair() 97 Instruction::CastOps secondOp = Instruction::CastOps(opc); in foldConstantCastPair()
|
| H A D | Constants.cpp | 1955 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 D | ScalarEvolutionExpander.h | 434 Value *ReuseOrCreateCast(Value *V, Type *Ty, Instruction::CastOps Op,
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 685 if (CastInst::isNoopCast(Instruction::CastOps(CE->getOpcode()), in findValueImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 50 Instruction::CastOps Op, in ReuseOrCreateCast() 157 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); in InsertNoopCastOfTo()
|