Home
last modified time | relevance | path

Searched refs:AShr (Results 1 – 25 of 57) sorted by relevance

123

/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp47 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST()
107 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST()
168 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST()
228 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp338 if (I.getOpcode() != Instruction::AShr && in FoldShiftByConstant()
524 if (isValid && I.getOpcode() == Instruction::AShr) in FoldShiftByConstant()
575 if (I.getOpcode() != Instruction::AShr) in FoldShiftByConstant()
602 ShiftOp->getOpcode() == Instruction::AShr); in FoldShiftByConstant()
631 if (I.getOpcode() == Instruction::AShr && in FoldShiftByConstant()
636 BinaryOperator *NewAShr = BinaryOperator::Create(Instruction::AShr, in FoldShiftByConstant()
679 if (I.getOpcode() == Instruction::AShr && in FoldShiftByConstant()
DInstCombineSelect.cpp119 case Instruction::AShr: in GetSelectFoldableOperands()
137 case Instruction::AShr: in GetSelectFoldableConstant()
621 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1); in visitSelectInstWithICmp() local
625 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
627 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue()); in visitSelectInstWithICmp()
DInstCombineVectorOps.cpp624 case Instruction::AShr: in CanEvaluateShuffled()
687 case Instruction::AShr: in BuildNew()
787 case Instruction::AShr: in EvaluateInDifferentElementOrder()
DInstCombineCompares.cpp962 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr)) in FoldICmpShrCst()
968 if (Shr->getOpcode() == Instruction::AShr && in FoldICmpShrCst()
979 Shr->getOpcode() == Instruction::AShr ? in FoldICmpShrCst()
1290 if (ShiftOpcode == Instruction::AShr) { in visitICmpInstWithInstAndIntCst()
1645 case Instruction::AShr: { in visitICmpInstWithInstAndIntCst()
3475 case Instruction::AShr: in visitICmpInst()
/external/llvm/include/llvm/IR/
DInstruction.h131 return Opcode >= Shl && Opcode <= AShr;
142 return getOpcode() == AShr;
DOperator.h149 OpC == Instruction::AShr || in isPossiblyExactOpcode()
354 : public ConcreteOperator<PossiblyExactOperator, Instruction::AShr> {
DPatternMatch.h536 inline BinaryOp_match<LHS, RHS, Instruction::AShr> m_AShr(const LHS &L, in m_AShr()
538 return BinaryOp_match<LHS, RHS, Instruction::AShr>(L, R); in m_AShr()
657 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>
659 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>(L, R); in m_Shr()
DInstruction.def124 HANDLE_BINARY_INST(22, AShr , BinaryOperator) // Shift right (arithmetic)
DInstrTypes.h272 DEFINE_HELPERS(AShr, Exact) // CreateExactAShr
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp158 case Instruction::AShr: in getIntImmCost()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp102 case Instruction::AShr: in getIntImmCost()
313 Cost += getArithmeticInstrCost(Instruction::AShr, Ty, Opd1Info, Opd2Info, in getArithmeticInstrCost()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp100 case Instruction::AShr: in createReplacementInstr()
/external/lldb/source/Expression/
DIRInterpreter.cpp506 case Instruction::AShr: in CanInterpret()
626 case Instruction::AShr: in Interpret()
700 case Instruction::AShr: in Interpret()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp137 case Instruction::AShr: in getIntImmCost()
DPPCCTRLoops.cpp392 J->getOpcode() == Instruction::AShr || in mightUseCTR()
/external/llvm/lib/Transforms/Scalar/
DBDCE.cpp183 case Instruction::AShr: in determineLiveOperandBits()
DLoopRotation.cpp234 case Instruction::AShr: { in shouldSpeculateInstrs()
/external/llvm/lib/IR/
DConstantFold.cpp976 case Instruction::AShr: in ConstantFoldBinaryInstruction()
1086 case Instruction::AShr: in ConstantFoldBinaryInstruction()
1143 case Instruction::AShr: in ConstantFoldBinaryInstruction()
1156 case Instruction::AShr: in ConstantFoldBinaryInstruction()
1233 case Instruction::AShr: in ConstantFoldBinaryInstruction()
DInstruction.cpp246 case AShr: return "ashr"; in getOpcodeName()
/external/llvm/lib/Analysis/
DCostModel.cpp410 case Instruction::AShr: in getInstructionCost()
/external/llvm/lib/Transforms/ObjCARC/
DARCInstKind.cpp279 case Instruction::AShr: in GetARCInstKind()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp99 2 * getArithmeticInstrCost(Instruction::AShr, Ty, Op1Info, Op2Info, in getArithmeticInstrCost()
1048 case Instruction::AShr: in getIntImmCost()
DX86FastISel.cpp1512 case Instruction::AShr: OpReg = X86::SAR8rCL; break; in X86SelectShift()
1521 case Instruction::AShr: OpReg = X86::SAR16rCL; break; in X86SelectShift()
1530 case Instruction::AShr: OpReg = X86::SAR32rCL; break; in X86SelectShift()
1539 case Instruction::AShr: OpReg = X86::SAR64rCL; break; in X86SelectShift()
3202 case Instruction::AShr: in fastSelectInstruction()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp924 case Instruction::AShr: Out << "getAShr("; break; in printConstant()
1234 case Instruction::AShr:{ in printInstruction()
1254 case Instruction::AShr:Out << "Instruction::AShr"; break; in printInstruction()

123