Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2250 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2273 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2601 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { in castIsValid() function in CastInst
2667 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
2673 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
2679 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
2685 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
2690 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
2696 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
2702 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst()
[all …]
DConstants.cpp1234 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast()
1431 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp2463 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2485 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2902 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { in castIsValid() function in CastInst
3017 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3023 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3029 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3035 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3040 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
3046 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
3052 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst()
[all …]
DConstants.cpp1512 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast()
1752 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast()
1764 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) && in getAddrSpaceCast()
DVerifier.cpp1832 Assert(CastInst::castIsValid(Instruction::BitCast, CE->getOperand(0), in visitConstantExpr()
2651 CastInst::castIsValid(Instruction::BitCast, I.getOperand(0), I.getType()), in visitBitCastInst()
/external/llvm/lib/IR/
DInstructions.cpp2648 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
2670 assert(castIsValid(op, S, Ty) && "Invalid cast!"); in Create()
3084 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { in castIsValid() function in CastInst
3202 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3208 assert(castIsValid(getOpcode(), S, Ty) && "Illegal Trunc"); in TruncInst()
3214 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3220 assert(castIsValid(getOpcode(), S, Ty) && "Illegal ZExt"); in ZExtInst()
3225 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
3231 assert(castIsValid(getOpcode(), S, Ty) && "Illegal SExt"); in SExtInst()
3237 assert(castIsValid(getOpcode(), S, Ty) && "Illegal FPTrunc"); in FPTruncInst()
[all …]
DConstants.cpp1462 assert(CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"); in getCast()
1702 assert(CastInst::castIsValid(Instruction::BitCast, C, DstTy) && in getBitCast()
1714 assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) && in getAddrSpaceCast()
DVerifier.cpp1654 Assert(CastInst::castIsValid(Instruction::BitCast, CE->getOperand(0), in visitConstantExpr()
2449 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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp155 if (COp && CastInst::castIsValid(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DConstantFolding.cpp339 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
/external/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp150 if (COp && CastInst::castIsValid(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DConstantFolding.cpp523 if (CastInst::castIsValid(Cast, C, DestTy)) in ConstantFoldLoadThroughBitcast()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DInstructionsTest.cpp276 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST()
279 EXPECT_FALSE(CastInst::castIsValid(Instruction::BitCast, in TEST()
283 EXPECT_FALSE(CastInst::castIsValid(Instruction::AddrSpaceCast, in TEST()
286 EXPECT_FALSE(CastInst::castIsValid(Instruction::AddrSpaceCast, in TEST()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp244 if (!CastInst::castIsValid(Instruction::BitCast, CS.getArgument(I), PTy)) in isPromotionLegal()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h610 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
/external/llvm/include/llvm/IR/
DInstrTypes.h839 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstrTypes.h858 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp2097 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
3369 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in ParseCast()
3370 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()
/external/llvm/lib/AsmParser/
DLLParser.cpp2941 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
5634 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in ParseCast()
5635 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.cpp3217 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
6124 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in ParseCast()
6125 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp952 SPIRVDBG(if (!CastInst::castIsValid(CO, Src, Dst)) { in transConvertInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3585 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4573 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody()