Home
last modified time | relevance | path

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

12345678

/external/swiftshader/third_party/llvm-7.0/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/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()
/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> {
/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/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp57 case Instruction::AShr: in getArithmeticInstrCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetTransformInfo.cpp57 case Instruction::AShr: in getArithmeticInstrCost()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h132 return Opcode >= Shl && Opcode <= AShr; in isShift()
142 return getOpcode() == AShr; in isArithmeticShift()
/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> {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstruction.h152 return Opcode >= Shl && Opcode <= AShr;
162 return getOpcode() == AShr;
DOperator.h143 OpC == Instruction::AShr || in isPossiblyExactOpcode()
419 : public ConcreteOperator<PossiblyExactOperator, Instruction::AShr> {
/external/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp112 if (!(Ashr && Ashr->getOpcode() == Instruction::AShr)) in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp107 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp158 case Instruction::AShr: in getIntImmCost()
378 Opcode == Instruction::AShr || UDivPow2) { in getArithmeticInstrCost()
435 if (Opcode == Instruction::LShr || Opcode == Instruction::AShr) in getArithmeticInstrCost()
/external/llvm/include/llvm/MC/
DMCExpr.h405 AShr, ///< Arithmetic shift right. enumerator
486 return create(AShr, LHS, RHS, Ctx); in createAShr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp341 if (IsValid && Shift.getOpcode() == Instruction::AShr) in canShiftBinOpWithConstantRHS()
357 if (I.getOpcode() != Instruction::AShr && in FoldShiftByConstant()
791 Value *AShr = Builder.CreateAShr(X, NewShAmt); in visitLShr() local
792 return new ZExtInst(AShr, Ty); in visitLShr()
/external/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp219 case Instruction::AShr: in ComputeSpeculationCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOperations.cpp29 Ops.push_back(binOpDescriptor(1, Instruction::AShr)); in describeFuzzerIntOps()
107 case Instruction::AShr: in binOpDescriptor()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCExpr.h437 AShr, ///< Arithmetic shift right. enumerator
536 return create(AShr, LHS, RHS, Ctx); in createAShr()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp158 case Instruction::AShr: in getIntImmCost()

12345678