Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstructions.cpp2691 assert(castIsValid(Opcode, SrcTy, DestTy) && "method precondition"); in isNoopCast()
2948 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2970 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
3331 CastInst::castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy) { in castIsValid() function in CastInst
3433 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3439 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3445 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3451 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3456 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
3462 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
[all …]
H A DConstants.cpp1981 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast()
2223 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast()
2235 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) && in getAddrSpaceCast()
H A DAutoUpgrade.cpp4103 !CastInst::castIsValid(Instruction::BitCast, CI, in UpgradeARCRuntime()
4117 if (!CastInst::castIsValid(Instruction::BitCast, Arg, in UpgradeARCRuntime()
H A DVerifier.cpp2176 Assert(CastInst::castIsValid(Instruction::BitCast, CE->getOperand(0), in visitConstantExpr()
3063 CastInst::castIsValid(Instruction::BitCast, I.getOperand(0), I.getType()), in visitBitCastInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp160 if (COp && CastInst::castIsValid(I.getOpcode(), COp, I.getType())) { in visitCastInst()
H A DConstantFolding.cpp105 assert(CastInst::castIsValid(Instruction::BitCast, C, DestTy) && in FoldBitCast()
387 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstrTypes.h692 static bool castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy);
693 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) {
694 return castIsValid(op, S->getType(), DstTy);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp3625 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in parseValID()
7051 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in parseCast()
7052 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in parseCast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4139 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()