Home
last modified time | relevance | path

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

1234

/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.cpp339 if (I.getOpcode() != Instruction::AShr && in FoldShiftByConstant()
525 if (isValid && I.getOpcode() == Instruction::AShr) in FoldShiftByConstant()
576 if (I.getOpcode() != Instruction::AShr) in FoldShiftByConstant()
603 ShiftOp->getOpcode() == Instruction::AShr); in FoldShiftByConstant()
632 if (I.getOpcode() == Instruction::AShr && in FoldShiftByConstant()
637 BinaryOperator *NewAShr = BinaryOperator::Create(Instruction::AShr, in FoldShiftByConstant()
680 if (I.getOpcode() == Instruction::AShr && in FoldShiftByConstant()
DInstCombineSelect.cpp92 case Instruction::AShr: in GetSelectFoldableOperands()
110 case Instruction::AShr: in GetSelectFoldableConstant()
529 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1); in visitSelectInstWithICmp() local
533 return replaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
535 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue()); in visitSelectInstWithICmp()
DInstCombineVectorOps.cpp664 case Instruction::AShr: in CanEvaluateShuffled()
727 case Instruction::AShr: in buildNew()
827 case Instruction::AShr: in EvaluateInDifferentElementOrder()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstruction.h102 return Opcode >= Shl && Opcode <= AShr; in isShift()
113 return getOpcode() == AShr; in isArithmeticShift()
DOperator.h150 OpC == Instruction::AShr || in isPossiblyExactOpcode()
215 : public ConcreteOperator<PossiblyExactOperator, Instruction::AShr> {
DInstruction.def125 HANDLE_BINARY_INST(23, AShr , BinaryOperator) // Shift right (arithmetic)
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp57 case Instruction::AShr: in getArithmeticInstrCost()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineShifts.cpp318 if (I.getOpcode() != Instruction::AShr && in FoldShiftByConstant()
336 if (I.getOpcode() != Instruction::AShr) in FoldShiftByConstant()
508 if (isValid && I.getOpcode() == Instruction::AShr) in FoldShiftByConstant()
547 if (I.getOpcode() != Instruction::AShr) in FoldShiftByConstant()
578 ShiftOp->getOpcode() == Instruction::AShr); in FoldShiftByConstant()
DInstCombineSelect.cpp95 case Instruction::AShr: in GetSelectFoldableOperands()
113 case Instruction::AShr: in GetSelectFoldableConstant()
465 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1); in visitSelectInstWithICmp() local
469 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
471 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue()); in visitSelectInstWithICmp()
/external/llvm/include/llvm/IR/
DInstruction.h123 return Opcode >= Shl && Opcode <= AShr;
133 return getOpcode() == AShr;
DOperator.h148 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()
/external/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp112 if (!(Ashr && Ashr->getOpcode() == Instruction::AShr)) in runOnFunction()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h393 inline BinaryOp_match<LHS, RHS, Instruction::AShr>
395 return BinaryOp_match<LHS, RHS, Instruction::AShr>(L, R); in m_AShr()
424 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>
426 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>(L, R); in m_Shr()
/external/llvm/include/llvm/MC/
DMCExpr.h405 AShr, ///< Arithmetic shift right. enumerator
486 return create(AShr, LHS, RHS, Ctx); in createAShr()
/external/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp219 case Instruction::AShr: in ComputeSpeculationCost()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp158 case Instruction::AShr: in getIntImmCost()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp100 case Instruction::AShr: in createReplacementInstr()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp102 case Instruction::AShr: in getIntImmCost()
399 Cost += getArithmeticInstrCost(Instruction::AShr, Ty, Opd1Info, Opd2Info, in getArithmeticInstrCost()
/external/llvm/lib/MC/
DMCExpr.cpp97 case MCBinaryExpr::AShr: OS << ">>"; break; in print()
720 case MCBinaryExpr::AShr: Result = LHS >> RHS; break; in evaluateAsRelocatableImpl()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp818 case Instruction::AShr: in printConstant()
841 case Instruction::AShr: Out << " >> "; break; in printConstant()
1139 case Instruction::AShr: in printConstExprCast()
1204 case Instruction::AShr: in printConstantWithCast()
1349 case Instruction::AShr: in writeInstructionCast()
1394 case Instruction::AShr: in writeOperandWithCast()
2573 case Instruction::AShr: Out << " >> "; break; in visitBinaryOperator()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp144 case Instruction::AShr: in getIntImmCost()
/external/llvm/lib/Analysis/
DDemandedBits.cpp172 case Instruction::AShr: in determineLiveOperandBits()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FastISel.cpp1134 case Instruction::AShr: OpReg = X86::SAR8rCL; break; in X86SelectShift()
1143 case Instruction::AShr: OpReg = X86::SAR16rCL; break; in X86SelectShift()
1152 case Instruction::AShr: OpReg = X86::SAR32rCL; break; in X86SelectShift()
1161 case Instruction::AShr: OpReg = X86::SAR64rCL; break; in X86SelectShift()
1940 case Instruction::AShr: in TargetSelectInstruction()

1234