Searched refs:castIsValid (Results 1 – 8 of 8) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2575 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create() 2597 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create() 3131 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst() 3137 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst() 3143 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst() 3149 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst() 3154 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst() 3160 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst() 3178 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPExt"); in FPExtInst() 3184 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPExt"); in FPExtInst() [all …]
|
| H A D | Constants.cpp | 1535 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast() 1775 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast() 1787 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) && in getAddrSpaceCast()
|
| H A D | Verifier.cpp | 1871 Assert(CastInst::castIsValid(Instruction::BitCast, CE->getOperand(0), in visitConstantExpr() 2703 CastInst::castIsValid(Instruction::BitCast, I.getOperand(0), I.getType()), in visitBitCastInst()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 155 if (COp && CastInst::castIsValid(I.getOpcode(), COp, I.getType())) { in visitCastInst()
|
| H A D | ConstantFolding.cpp | 339 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 619 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
|
| /freebsd-12.1/contrib/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 3213 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID() 6286 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in ParseCast() 6287 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 3649 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
|