Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DInstructionsTest.cpp408 TEST(InstructionsTest, isEliminableCastPair) { in TEST() argument
417 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
425 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
433 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
440 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
447 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
466 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
473 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::AddrSpaceCast, in TEST()
480 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
/external/llvm/include/llvm/IR/
DInstruction.def158 // NOTE: The order matters here because CastInst::isEliminableCastPair
DInstrTypes.h834 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/llvm/lib/IR/
DConstantFold.cpp98 return CastInst::isEliminableCastPair(firstOp, secondOp, SrcTy, MidTy, DstTy, in foldConstantCastPair()
DInstructions.cpp2347 unsigned CastInst::isEliminableCastPair( in isEliminableCastPair() function in CastInst