Home
last modified time | relevance | path

Searched refs:isEliminableCastPair (Results 1 – 21 of 21) sorted by relevance

/external/llvm/unittests/IR/
DInstructionsTest.cpp412 TEST(InstructionsTest, isEliminableCastPair) { in TEST() argument
421 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
429 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
437 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
444 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
451 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
470 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
477 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::AddrSpaceCast, in TEST()
484 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DInstructionsTest.cpp424 TEST(InstructionsTest, isEliminableCastPair) { in TEST() argument
433 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
441 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
449 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
456 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
463 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
482 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
489 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::AddrSpaceCast, in TEST()
496 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstruction.def143 // NOTE: The order matters here because CastInst::isEliminableCastPair
DInstrTypes.h587 static unsigned isEliminableCastPair(
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp230 isEliminableCastPair( in isEliminableCastPair() function
244 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair()
271 if (isEliminableCastPair(CI, opc, Ty, TD)) in ShouldOptimizeCast()
291 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), TD)) { in commonCastTransforms()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstruction.def162 // NOTE: The order matters here because CastInst::isEliminableCastPair
DInstrTypes.h833 static unsigned isEliminableCastPair(
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def158 // NOTE: The order matters here because CastInst::isEliminableCastPair
/external/llvm/include/llvm/IR/
DInstruction.def158 // NOTE: The order matters here because CastInst::isEliminableCastPair
DInstrTypes.h814 static unsigned isEliminableCastPair(
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp234 isEliminableCastPair(const CastInst *CI, ///< First cast instruction in isEliminableCastPair() function
250 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair()
275 if (isEliminableCastPair(CI, opc, Ty, DL)) in ShouldOptimizeCast()
295 isEliminableCastPair(CSrc, CI.getOpcode(), CI.getType(), DL)) { in commonCastTransforms()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp233 Instruction::CastOps InstCombiner::isEliminableCastPair(const CastInst *CI1, in isEliminableCastPair() function in InstCombiner
247 unsigned Res = CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, in isEliminableCastPair()
266 if (Instruction::CastOps NewOpc = isEliminableCastPair(CSrc, &CI)) { in commonCastTransforms()
DInstCombineInternal.h542 Instruction::CastOps isEliminableCastPair(const CastInst *CI1,
DInstCombineAndOrXor.cpp1169 if (isEliminableCastPair(PrecedingCI, CI)) in shouldOptimizeCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp97 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
DInstructions.cpp2244 unsigned CastInst::isEliminableCastPair( in isEliminableCastPair() function in CastInst
/external/llvm/lib/IR/
DConstantFold.cpp96 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
DInstructions.cpp2422 unsigned CastInst::isEliminableCastPair( in isEliminableCastPair() function in CastInst
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp94 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
DInstructions.cpp2081 unsigned CastInst::isEliminableCastPair( in isEliminableCastPair() function in CastInst
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4157 if (CastInst::isEliminableCastPair(FirstOp, SecondOp, SrcTy, MidTy, DstTy, in SimplifyCastInst()