Searched refs:castIsValid (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2573 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create() 2595 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create() 3009 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { in castIsValid() function in CastInst 3127 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst() 3133 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst() 3139 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst() 3145 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst() 3150 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst() 3156 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst() 3162 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst() [all …]
|
D | Constants.cpp | 1531 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast() 1772 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast() 1784 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) && in getAddrSpaceCast()
|
D | Verifier.cpp | 1529 Assert(CastInst::castIsValid(Instruction::BitCast, CE->getOperand(0), in visitConstantExpr() 2248 CastInst::castIsValid(Instruction::BitCast, I.getOperand(0), I.getType()), in visitBitCastInst()
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 264 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST() 267 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST() 271 EXPECT_FALSE(CastInst::castIsValid(Instruction::AddrSpaceCast, in TEST() 274 EXPECT_FALSE(CastInst::castIsValid(Instruction::AddrSpaceCast, in TEST()
|
/external/llvm/include/llvm/IR/ |
D | InstrTypes.h | 859 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 2777 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID() 5415 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in ParseCast() 5416 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 506 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 4135 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
|