Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DInstructions.cpp2327 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2348 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2715 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { in castIsValid() function in CastInst
2798 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
2804 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
2810 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
2816 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
2821 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
2827 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
2833 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst()
[all …]
DConstants.cpp1447 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast()
1655 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast()
/external/llvm/include/llvm/IR/
DInstrTypes.h616 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
/external/llvm/lib/AsmParser/
DLLParser.cpp2432 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
3735 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in ParseCast()
3736 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()