Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2784 assert(castIsValid(Opcode, SrcTy, DestTy) && "method precondition"); in isNoopCast()
3037 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
3304 CastInst::castIsValid(Instruction::CastOps op, Type *SrcTy, Type *DstTy) { in castIsValid() function in CastInst
3406 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3412 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3418 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
3424 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst()
3430 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPExt"); in FPExtInst()
3436 assert(castIsValid(getOpcode(), S, Ty) && "Illegal UIToFP"); in UIToFPInst()
3442 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SIToFP"); in SIToFPInst()
[all …]
H A DConstants.cpp2219 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast()
2313 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast()
2325 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) && in getAddrSpaceCast()
H A DAutoUpgrade.cpp5431 !CastInst::castIsValid(Instruction::BitCast, CI, in UpgradeARCRuntime()
5445 if (!CastInst::castIsValid(Instruction::BitCast, Arg, in UpgradeARCRuntime()
H A DVerifier.cpp2613 Check(CastInst::castIsValid(Instruction::BitCast, CE->getOperand(0), in visitConstantExpr()
3570 CastInst::castIsValid(Instruction::BitCast, I.getOperand(0), I.getType()), in visitBitCastInst()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp135 if (CastInst::castIsValid(I.getOpcode(), Op, I.getType())) { in visitCastInst()
H A DConstantFolding.cpp112 assert(CastInst::castIsValid(Instruction::BitCast, C, DestTy) && in FoldBitCast()
388 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h625 LLVM_ABI static bool castIsValid(Instruction::CastOps op, Type *SrcTy,
627 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) {
628 return castIsValid(op, S->getType(), DstTy);
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4284 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in parseValID()
8084 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) in parseCast()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5199 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc21632 …lidENS_11Instruction7CastOpsEPNS_5ValueEPKNS_4TypeE", "llvm::CastInst::castIsValid(llvm::Instructi…