Home
last modified time | relevance | path

Searched refs:castIsValid (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/IR/
DInstructions.cpp2573 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 …]
DConstants.cpp1531 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()
DVerifier.cpp1529 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/
DInstructionsTest.cpp264 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/
DInstrTypes.h859 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
/external/llvm/lib/AsmParser/
DLLParser.cpp2777 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/
DConstantFolding.cpp506 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4135 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()