Searched refs:castIsValid (Results 1 – 9 of 9) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Instructions.cpp | 3091 assert(castIsValid(Opcode, SrcTy, DestTy) && "method precondition"); in isNoopCast() 3356 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create() 3378 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create() 3739 CastInst::castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy) { in castIsValid() function in CastInst 3841 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst() 3847 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst() 3853 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst() 3859 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst() 3864 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst() 3870 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst() [all …]
|
| H A D | Constants.cpp | 1978 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast() 2231 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast() 2243 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) && in getAddrSpaceCast()
|
| H A D | AutoUpgrade.cpp | 4561 !CastInst::castIsValid(Instruction::BitCast, CI, in UpgradeARCRuntime() 4575 if (!CastInst::castIsValid(Instruction::BitCast, Arg, in UpgradeARCRuntime()
|
| H A D | Verifier.cpp | 2236 Check(CastInst::castIsValid(Instruction::BitCast, CE->getOperand(0), in visitConstantExpr() 3156 CastInst::castIsValid(Instruction::BitCast, I.getOperand(0), I.getType()), in visitBitCastInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 159 if (CastInst::castIsValid(I.getOpcode(), Op, I.getType())) { in visitCastInst()
|
| H A D | ConstantFolding.cpp | 105 assert(CastInst::castIsValid(Instruction::BitCast, C, DestTy) && in FoldBitCast() 379 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 688 static bool castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy); 689 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { 690 return castIsValid(op, S->getType(), DstTy);
|
| /openbsd-src/gnu/llvm/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 3752 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in parseValID() 7155 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in parseCast() 7156 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in parseCast()
|
| /openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 4909 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
|