Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp319 if (I.getOpcode() != Instruction::AShr && in FoldShiftByConstant()
337 if (I.getOpcode() != Instruction::AShr) in FoldShiftByConstant()
509 if (isValid && I.getOpcode() == Instruction::AShr) in FoldShiftByConstant()
560 if (I.getOpcode() != Instruction::AShr) in FoldShiftByConstant()
587 ShiftOp->getOpcode() == Instruction::AShr); in FoldShiftByConstant()
616 if (I.getOpcode() == Instruction::AShr && in FoldShiftByConstant()
621 BinaryOperator *NewAShr = BinaryOperator::Create(Instruction::AShr, in FoldShiftByConstant()
664 if (I.getOpcode() == Instruction::AShr && in FoldShiftByConstant()
DInstCombineSelect.cpp95 case Instruction::AShr: in GetSelectFoldableOperands()
113 case Instruction::AShr: in GetSelectFoldableConstant()
473 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1); in visitSelectInstWithICmp() local
477 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
479 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue()); in visitSelectInstWithICmp()
DInstCombineCompares.cpp945 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr)) in FoldICmpShrCst()
951 if (Shr->getOpcode() == Instruction::AShr && in FoldICmpShrCst()
962 Shr->getOpcode() == Instruction::AShr ? in FoldICmpShrCst()
1328 case Instruction::AShr: { in visitICmpInstWithInstAndIntCst()
2477 case Instruction::AShr: in visitICmpInst()
DInstCombineSimplifyDemanded.cpp630 case Instruction::AShr: in SimplifyDemandedUseBits()
DInstCombineAndOrXor.cpp246 case Instruction::AShr: in OptAndOp()
2089 } else if (Op0I->getOpcode() == Instruction::AShr) { in visitXor()
/external/llvm/include/llvm/
DInstruction.h102 return Opcode >= Shl && Opcode <= AShr; in isShift()
113 return getOpcode() == AShr; in isArithmeticShift()
DOperator.h152 OpC == Instruction::AShr || in isPossiblyExactOpcode()
238 : public ConcreteOperator<PossiblyExactOperator, Instruction::AShr> {
DInstruction.def124 HANDLE_BINARY_INST(22, AShr , BinaryOperator) // Shift right (arithmetic)
DInstrTypes.h278 DEFINE_HELPERS(AShr, Exact) // CreateExactAShr
/external/llvm/include/llvm/Support/
DPatternMatch.h415 inline BinaryOp_match<LHS, RHS, Instruction::AShr>
417 return BinaryOp_match<LHS, RHS, Instruction::AShr>(L, R); in m_AShr()
446 inline BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>
448 return BinOp2_match<LHS, RHS, Instruction::LShr, Instruction::AShr>(L, R); in m_Shr()
/external/mesa3d/include/pixelflinger2/
Dpixelflinger2_vector4.h83 …void AShr(const unsigned shift) { i[0] >>= shift; i[1] >>= shift; i[2] >>= shift; i[3] >>= shift; } in AShr() function
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1155 case Instruction::AShr: OpReg = X86::SAR8rCL; break; in X86SelectShift()
1164 case Instruction::AShr: OpReg = X86::SAR16rCL; break; in X86SelectShift()
1173 case Instruction::AShr: OpReg = X86::SAR32rCL; break; in X86SelectShift()
1182 case Instruction::AShr: OpReg = X86::SAR64rCL; break; in X86SelectShift()
1985 case Instruction::AShr: in TargetSelectInstruction()
/external/llvm/lib/VMCore/
DConstantFold.cpp923 case Instruction::AShr: in ConstantFoldBinaryInstruction()
1026 case Instruction::AShr: in ConstantFoldBinaryInstruction()
1089 case Instruction::AShr: { in ConstantFoldBinaryInstruction()
1105 case Instruction::AShr: in ConstantFoldBinaryInstruction()
1182 case Instruction::AShr: in ConstantFoldBinaryInstruction()
DInstruction.cpp157 case AShr: return "ashr"; in getOpcodeName()
DConstants.cpp1640 case Instruction::AShr: in get()
2006 return get(Instruction::AShr, C1, C2, in getAShr()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp187 case Instruction::AShr: in shouldSpeculateInstrs()
DIndVarSimplify.cpp761 case Instruction::AShr: in CloneIVUser()
DSCCP.cpp1384 case Instruction::AShr: in ResolvedUndefsIn()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp900 case Instruction::AShr: Out << "getAShr("; break; in printConstant()
1204 case Instruction::AShr:{ in printInstruction()
1224 case Instruction::AShr:Out << "Instruction::AShr"; break; in printInstruction()
/external/llvm/lib/AsmParser/
DLLLexer.cpp605 INSTKEYWORD(shl, Shl); INSTKEYWORD(lshr, LShr); INSTKEYWORD(ashr, AShr); in LexIdentifier()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1289 if (Value *V = SimplifyShift(Instruction::AShr, Op0, Op1, Q, MaxRecurse)) in SimplifyAShrInst()
2149 case Instruction::AShr: in SimplifyICmpInst()
2698 case Instruction::AShr: in SimplifyBinOp()
2817 case Instruction::AShr: in SimplifyInstruction()
DValueTracking.cpp500 case Instruction::AShr: in ComputeMaskedBits()
1030 case Instruction::AShr: { in ComputeNumSignBits()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp345 case 9: {Op = Instruction::AShr; break; } in Act()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp150 case bitc::BINOP_ASHR: return Instruction::AShr; in GetDecodedBinaryOpcode()
1144 Opc == Instruction::AShr) { in ParseConstants()
2023 Opc == Instruction::AShr) { in ParseFunctionBody()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp973 case Instruction::AShr: in SelectOperator()

12