Searched refs:castIsValid (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instructions.cpp | 2721 assert(castIsValid(Opcode, SrcTy, DestTy) && "method precondition"); in isNoopCast() 2974 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create() 3250 CastInst::castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy) { in castIsValid() function in CastInst 3352 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst() 3358 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst() 3364 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst() 3370 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst() 3376 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPExt"); in FPExtInst() 3382 assert(castIsValid(getOpcode(), S, Ty) && "Illegal UIToFP"); in UIToFPInst() 3388 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SIToFP"); in SIToFPInst() [all …]
|
H A D | Constants.cpp | 2191 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast() 2285 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast() 2297 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) && in getAddrSpaceCast()
|
H A D | AutoUpgrade.cpp | 4962 !CastInst::castIsValid(Instruction::BitCast, CI, in UpgradeARCRuntime() 4976 if (!CastInst::castIsValid(Instruction::BitCast, Arg, in UpgradeARCRuntime()
|
H A D | Verifier.cpp | 2473 Check(CastInst::castIsValid(Instruction::BitCast, CE->getOperand(0), in visitConstantExpr() 3431 CastInst::castIsValid(Instruction::BitCast, I.getOperand(0), I.getType()), in visitBitCastInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LoopUnrollAnalyzer.cpp | 159 if (CastInst::castIsValid(I.getOpcode(), Op, I.getType())) { in visitCastInst()
|
H A D | ConstantFolding.cpp | 105 assert(CastInst::castIsValid(Instruction::BitCast, C, DestTy) && in FoldBitCast() 375 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 707 static bool castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy); 708 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { 709 return castIsValid(op, S->getType(), DstTy);
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 4184 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in parseValID() 7769 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in parseCast() 7770 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in parseCast()
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 5115 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
|