| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 452 Instruction::CastOps, ///< The opcode of the cast instruction 465 Instruction::CastOps, ///< The opcode for the cast instruction 618 static Instruction::CastOps getCastOpcode( 647 Instruction::CastOps Opcode, ///< Opcode of cast 665 Instruction::CastOps firstOpcode, ///< Opcode of first cast 666 Instruction::CastOps secondOpcode, ///< Opcode of second cast 676 Instruction::CastOps getOpcode() const { 677 return Instruction::CastOps(Instruction::getOpcode()); 689 static bool castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy); 690 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 | 349 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 | 785 enum CastOps {
|
| /llvm-project-15.0.7/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
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetTransformInfo.cpp | 143 Optional<Instruction::CastOps> CastOp; in simplifyNvvmIntrinsic() 160 SimplifyAction(Instruction::CastOps CastOp) : CastOp(CastOp) {} in simplifyNvvmIntrinsic()
|
| H A D | NVPTXGenericToNVVM.cpp | 290 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 754 Instruction::CastOps *CastOp = nullptr, 771 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()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 227 GenericValue executeCastOperation(Instruction::CastOps opcode, Value *SrcVal,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 251 Instruction::CastOps 258 Instruction::CastOps firstOp = CI1->getOpcode(); in isEliminableCastPair() 259 Instruction::CastOps secondOp = CI2->getOpcode(); in isEliminableCastPair() 276 return Instruction::CastOps(Res); in isEliminableCastPair() 286 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms() 747 Instruction::CastOps Opcode = Trunc.getOpcode(); in shrinkInsertElt() 1724 CastInst::CastOps Opcode = I.getOpcode(); in isKnownExactCastIntToFP()
|
| H A D | InstCombineCalls.cpp | 2632 Instruction::CastOps ExtOpc = Instruction::CastOps::CastOpsEnd; in visitCallInst() 2636 (ExtOpc == Instruction::CastOps::ZExt)) in visitCallInst() 3402 Instruction::CastOps opcode = in transformConstExprCastCall()
|
| H A D | InstCombineInternal.h | 344 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
|
| H A D | InstCombineSelect.cpp | 313 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in foldSelectOpOp() 1990 return CastInst::Create(Instruction::CastOps(ExtOpcode), NewSel, SelType); in foldSelectExtConst() 2950 Instruction::CastOps CastOp; in visitSelectInst()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2918 bool CastInst::isNoopCast(Instruction::CastOps Opcode, in isNoopCast() 2961 Instruction::CastOps firstOp, Instruction::CastOps secondOp, in isEliminableCastPair() 3185 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create() 3207 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create() 3358 Instruction::CastOps opcode = in CreateIntegerCast() 3372 Instruction::CastOps opcode = in CreateIntegerCast() 3386 Instruction::CastOps opcode = in CreateFPCast() 3399 Instruction::CastOps opcode = in CreateFPCast() 3466 Instruction::CastOps 3570 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 | 1925 static Constant *getFoldedCast(Instruction::CastOps opc, Constant *C, Type *Ty, in getFoldedCast() 1945 Instruction::CastOps opc = Instruction::CastOps(oc); in getCast() 2042 Instruction::CastOps opcode = in getIntegerCast() 2056 Instruction::CastOps opcode = in getFPCast() 3448 return CastInst::Create((Instruction::CastOps)getOpcode(), Ops[0], in getAsInstruction()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.h | 427 Value *ReuseOrCreateCast(Value *V, Type *Ty, Instruction::CastOps Op,
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Lint.cpp | 685 if (CastInst::isNoopCast(Instruction::CastOps(CE->getOpcode()), in findValueImpl()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ValueTrackingTest.cpp | 95 Instruction::CastOps CastOp; in expectPattern()
|