| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 439 IRBuilder<> Builder(Div); in expandDivision() 456 Div->eraseFromParent(); in expandDivision() 465 Div = BO; in expandDivision() 473 Div->dropAllReferences(); in expandDivision() 474 Div->eraseFromParent(); in expandDivision() 601 IRBuilder<> Builder(Div); in expandDivisionUpTo32Bits() 621 Div->dropAllReferences(); in expandDivisionUpTo32Bits() 622 Div->eraseFromParent(); in expandDivisionUpTo32Bits() 650 IRBuilder<> Builder(Div); in expandDivisionUpTo64Bits() 670 Div->dropAllReferences(); in expandDivisionUpTo64Bits() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/ |
| H A D | IntegerDivision.h | 42 bool expandDivision(BinaryOperator* Div); 63 bool expandDivisionUpTo32Bits(BinaryOperator *Div); 69 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 256 BinaryOperator *Div = dyn_cast<BinaryOperator>(Op0); in visitMul() local 257 if (!Div || (Div->getOpcode() != Instruction::UDiv && in visitMul() 258 Div->getOpcode() != Instruction::SDiv)) { in visitMul() 260 Div = dyn_cast<BinaryOperator>(Op1); in visitMul() 263 if (Div && Div->hasOneUse() && in visitMul() 264 (Div->getOperand(1) == Y || Div->getOperand(1) == Neg) && in visitMul() 265 (Div->getOpcode() == Instruction::UDiv || in visitMul() 266 Div->getOpcode() == Instruction::SDiv)) { in visitMul() 267 Value *X = Div->getOperand(0), *DivOp1 = Div->getOperand(1); in visitMul() 270 if (Div->isExact()) { in visitMul() [all …]
|
| H A D | InstCombineCompares.cpp | 2142 BinaryOperator *Div, in foldICmpDivConstant() argument 2151 if (!match(Div->getOperand(1), m_APInt(C2))) in foldICmpDivConstant() 2162 bool DivIsSigned = Div->getOpcode() == Instruction::SDiv; in foldICmpDivConstant() 2189 APInt RangeSize = Div->isExact() ? APInt(C2->getBitWidth(), 1) : *C2; in foldICmpDivConstant() 2230 if (Div->isExact()) in foldICmpDivConstant() 2257 Value *X = Div->getOperand(0); in foldICmpDivConstant() 2266 ConstantInt::get(Div->getType(), LoBound)); in foldICmpDivConstant() 2270 ConstantInt::get(Div->getType(), HiBound)); in foldICmpDivConstant() 2279 ConstantInt::get(Div->getType(), LoBound)); in foldICmpDivConstant() 2283 ConstantInt::get(Div->getType(), HiBound)); in foldICmpDivConstant() [all …]
|
| H A D | InstCombineInternal.h | 889 Instruction *foldICmpDivConstant(ICmpInst &Cmp, BinaryOperator *Div,
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 588 Value *Div = Builder.CreateAdd(IQ, JQ); in expandDivRem24() local 590 Value *Res = Div; in expandDivRem24() 593 Value *Rem = Builder.CreateMul(Div, Den); in expandDivRem24() 727 Value *Div = Builder.CreateSelect(Tmp1_0_CC, Quotient, Quotient_A_One); in expandDivRem32() local 730 Res = Builder.CreateSelect(Num_GE_Num_S_Rem_CC, Div, Quotient_S_One); in expandDivRem32()
|
| H A D | AMDGPUISelLowering.cpp | 1551 SDValue Div = DAG.getNode(ISD::ADD, DL, VT, iq, jq); in LowerDIVREM24() local 1561 Div = DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, Div, InRegSize); in LowerDIVREM24() 1565 Div = DAG.getNode(ISD::AND, DL, VT, Div, TruncMask); in LowerDIVREM24() 1569 return DAG.getMergeValues({ Div, Rem }, DL); in LowerDIVREM24() 1733 Results.push_back(Div); in LowerUDIVREM64() 1891 Div, in LowerUDIVREM() 1942 SDValue Rem = Div.getValue(1); in LowerSDIVREM() 1944 Div = DAG.getNode(ISD::XOR, DL, VT, Div, DSign); in LowerSDIVREM() 1947 Div = DAG.getNode(ISD::SUB, DL, VT, Div, DSign); in LowerSDIVREM() 1951 Div, in LowerSDIVREM() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64SchedThunderX.td | 42 def THXT8XUnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mul/Div/Sqrt 69 // Div 159 // FP Mul, Div, Sqrt 235 // Div
|
| H A D | AArch64SchedA53.td | 46 def A53UnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mult/Div/Sqrt 70 // Div 131 // FP Mul, Div, Sqrt 191 // Div
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | CommentHTMLTags.td | 20 def Div : Tag<"div">;
|
| H A D | StmtVisitor.h | 127 BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) in BINOP_FALLBACK()
|
| H A D | OperationKinds.def | 349 BINARY_OPERATION(Div, "/")
|
| H A D | RecursiveASTVisitor.h | 63 OPERATOR(PtrMemD) OPERATOR(PtrMemI) OPERATOR(Mul) OPERATOR(Div) \ 71 OPERATOR(Mul) OPERATOR(Div) OPERATOR(Rem) OPERATOR(Add) OPERATOR(Sub) \
|
| /freebsd-12.1/contrib/llvm/include/llvm/MC/ |
| H A D | MCExpr.h | 422 Div, ///< Signed division. enumerator 473 return create(Div, LHS, RHS, Ctx); in createDiv()
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | MCExpr.cpp | 111 case MCBinaryExpr::Div: OS << '/'; break; in print() 814 case MCBinaryExpr::Div: in evaluateAsRelocatableImpl() 824 if (ABE->getOpcode() == MCBinaryExpr::Div) in evaluateAsRelocatableImpl()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 2331 Constant *Div = ConstantExpr::getSDiv(CurrIdx, Factor); in ConstantFoldGetElementPtr() local 2335 Div->getType()->getScalarSizeInBits()); in ConstantFoldGetElementPtr() 2340 Type *ExtendedTy = Type::getIntNTy(Div->getContext(), CommonExtendedWidth); in ConstantFoldGetElementPtr() 2350 if (!Div->getType()->isIntOrIntVectorTy(CommonExtendedWidth)) in ConstantFoldGetElementPtr() 2351 Div = ConstantExpr::getSExt(Div, ExtendedTy); in ConstantFoldGetElementPtr() 2353 NewIdxs[i - 1] = ConstantExpr::getAdd(PrevIdx, Div); in ConstantFoldGetElementPtr()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 1818 if (auto *Div = dyn_cast<SCEVUDivExpr>(Op)) in getZeroExtendExpr() local 1819 return getUDivExpr(getZeroExtendExpr(Div->getLHS(), Ty, Depth + 1), in getZeroExtendExpr() 1820 getZeroExtendExpr(Div->getRHS(), Ty, Depth + 1)); in getZeroExtendExpr() 3212 const SCEV *Div = getUDivExpr(Op, RHSC); in getUDivExpr() local 3213 if (!isa<SCEVUDivExpr>(Div) && getMulExpr(Div, RHSC) == Op) { in getUDivExpr() 3216 Operands[i] = Div; in getUDivExpr() 8215 if (const SCEVUDivExpr *Div = dyn_cast<SCEVUDivExpr>(V)) { in computeSCEVAtScope() local 8216 const SCEV *LHS = getSCEVAtScope(Div->getLHS(), L); in computeSCEVAtScope() 8217 const SCEV *RHS = getSCEVAtScope(Div->getRHS(), L); in computeSCEVAtScope() 8218 if (LHS == Div->getLHS() && RHS == Div->getRHS()) in computeSCEVAtScope() [all …]
|
| H A D | ScalarEvolutionExpander.cpp | 265 const SCEV *Div = SE.getConstant(CI); in FactorOutConstant() local 266 S = Div; in FactorOutConstant()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 4765 static bool ConvertOmodDiv(int64_t &Div) { in ConvertOmodDiv() argument 4766 if (Div == 1) { in ConvertOmodDiv() 4767 Div = 0; in ConvertOmodDiv() 4771 if (Div == 2) { in ConvertOmodDiv() 4772 Div = 3; in ConvertOmodDiv()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | BuiltinsNVPTX.def | 116 // Div
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | Mips64InstrInfo.td | 308 def DSDIV : Div<"ddiv", II_DDIV, GPR64Opnd, [HI0_64, LO0_64]>, 310 def DUDIV : Div<"ddivu", II_DDIVU, GPR64Opnd, [HI0_64, LO0_64]>,
|
| H A D | MicroMipsInstrInfo.td | 774 def SDIV_MM : MMRel, Div<"div", II_DIV, GPR32Opnd, [HI0, LO0]>, 776 def UDIV_MM : MMRel, Div<"divu", II_DIVU, GPR32Opnd, [HI0, LO0]>,
|
| H A D | MipsInstrInfo.td | 1721 // Mul, Div 1758 class Div<string opstr, InstrItinClass itin, RegisterOperand RO, 2347 def SDIV : MMRel, Div<"div", II_DIV, GPR32Opnd, [HI0, LO0]>, 2349 def UDIV : MMRel, Div<"divu", II_DIVU, GPR32Opnd, [HI0, LO0]>,
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMScheduleR52.td | 74 // Div - may stall 0-9 cycles depending on input (i.e. WRI+(0-9)/2)
|
| /freebsd-12.1/contrib/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 1522 Kind = MCBinaryExpr::Div; in getDarwinBinOpPrecedence() 1592 Kind = MCBinaryExpr::Div; in getGNUBinOpPrecedence()
|