Home
last modified time | relevance | path

Searched refs:Incr (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp267 BinaryOperator *Incr = in HandleFloatingPointIV() local
269 if (Incr == 0 || Incr->getOpcode() != Instruction::FAdd) return; in HandleFloatingPointIV()
273 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1)); in HandleFloatingPointIV()
275 if (IncValueVal == 0 || Incr->getOperand(0) != PN || in HandleFloatingPointIV()
281 Value::use_iterator IncrUse = Incr->use_begin(); in HandleFloatingPointIV()
283 if (IncrUse == Incr->use_end()) return; in HandleFloatingPointIV()
285 if (IncrUse != Incr->use_end()) return; in HandleFloatingPointIV()
414 Incr->getName()+".int", Incr); in HandleFloatingPointIV()
432 Incr->replaceAllUsesWith(UndefValue::get(Incr->getType())); in HandleFloatingPointIV()
433 RecursivelyDeleteTriviallyDeadInstructions(Incr); in HandleFloatingPointIV()
DLoopStrengthReduce.cpp1535 BinaryOperator *Incr = in OptimizeShadowIV() local
1537 if (!Incr) continue; in OptimizeShadowIV()
1538 if (Incr->getOpcode() != Instruction::Add in OptimizeShadowIV()
1539 && Incr->getOpcode() != Instruction::Sub) in OptimizeShadowIV()
1544 if (Incr->getOperand(0) == PH) in OptimizeShadowIV()
1545 C = dyn_cast<ConstantInt>(Incr->getOperand(1)); in OptimizeShadowIV()
1546 else if (Incr->getOperand(1) == PH) in OptimizeShadowIV()
1547 C = dyn_cast<ConstantInt>(Incr->getOperand(0)); in OptimizeShadowIV()
1563 BinaryOperator::Create(Incr->getOpcode() == Instruction::Add ? in OptimizeShadowIV()
1565 NewPH, CFP, "IV.S.next.", Incr); in OptimizeShadowIV()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp259 auto *Incr = dyn_cast<BinaryOperator>(PN->getIncomingValue(BackEdge)); in handleFloatingPointIV() local
260 if (Incr == nullptr || Incr->getOpcode() != Instruction::FAdd) return; in handleFloatingPointIV()
264 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1)); in handleFloatingPointIV()
266 if (IncValueVal == nullptr || Incr->getOperand(0) != PN || in handleFloatingPointIV()
272 Value::user_iterator IncrUse = Incr->user_begin(); in handleFloatingPointIV()
274 if (IncrUse == Incr->user_end()) return; in handleFloatingPointIV()
276 if (IncrUse != Incr->user_end()) return; in handleFloatingPointIV()
405 Incr->getName()+".int", Incr); in handleFloatingPointIV()
423 Incr->replaceAllUsesWith(UndefValue::get(Incr->getType())); in handleFloatingPointIV()
424 RecursivelyDeleteTriviallyDeadInstructions(Incr, TLI); in handleFloatingPointIV()
DLoopStrengthReduce.cpp1851 BinaryOperator *Incr = in OptimizeShadowIV() local
1853 if (!Incr) continue; in OptimizeShadowIV()
1854 if (Incr->getOpcode() != Instruction::Add in OptimizeShadowIV()
1855 && Incr->getOpcode() != Instruction::Sub) in OptimizeShadowIV()
1860 if (Incr->getOperand(0) == PH) in OptimizeShadowIV()
1861 C = dyn_cast<ConstantInt>(Incr->getOperand(1)); in OptimizeShadowIV()
1862 else if (Incr->getOperand(1) == PH) in OptimizeShadowIV()
1863 C = dyn_cast<ConstantInt>(Incr->getOperand(0)); in OptimizeShadowIV()
1879 BinaryOperator::Create(Incr->getOpcode() == Instruction::Add ? in OptimizeShadowIV()
1881 NewPH, CFP, "IV.S.next.", Incr); in OptimizeShadowIV()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsISelLowering.cpp888 unsigned Incr = MI->getOperand(2).getReg(); in EmitAtomicBinary() local
926 BuildMI(BB, dl, TII->get(Mips::AND), AndRes).addReg(OldVal).addReg(Incr); in EmitAtomicBinary()
931 BuildMI(BB, dl, TII->get(BinOpcode), StoreVal).addReg(OldVal).addReg(Incr); in EmitAtomicBinary()
933 StoreVal = Incr; in EmitAtomicBinary()
961 unsigned Incr = MI->getOperand(2).getReg(); in EmitAtomicBinaryPartword() local
1026 BuildMI(BB, dl, TII->get(Mips::SLLV), Incr2).addReg(ShiftAmt).addReg(Incr); in EmitAtomicBinaryPartword()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp492 int Incr = (LittleEndian ? 1 : -1); in addConstantFPValue() local
497 for (; Start != Stop; Start += Incr) in addConstantFPValue()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp575 int Incr = (LittleEndian ? 1 : -1); in addConstantFPValue() local
580 for (; Start != Stop; Start += Incr) in addConstantFPValue()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp1144 unsigned Incr = MI.getOperand(2).getReg(); in emitAtomicBinary() local
1180 BuildMI(BB, DL, TII->get(AND), AndRes).addReg(OldVal).addReg(Incr); in emitAtomicBinary()
1184 BuildMI(BB, DL, TII->get(BinOpcode), StoreVal).addReg(OldVal).addReg(Incr); in emitAtomicBinary()
1186 StoreVal = Incr; in emitAtomicBinary()
1243 unsigned Incr = MI.getOperand(2).getReg(); in emitAtomicBinaryPartword() local
1324 BuildMI(BB, DL, TII->get(Mips::SLLV), Incr2).addReg(Incr).addReg(ShiftAmt); in emitAtomicBinaryPartword()
/external/webrtc/webrtc/p2p/base/
Dpseudotcp.cc186 inline void Incr(Stat s) { ++g_stats[s]; }
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1881 int SubReg = 0, End = NumRegs, Incr = 1; in copyPhysRegTuple() local
1885 Incr = -1; in copyPhysRegTuple()
1888 for (; SubReg != End; SubReg += Incr) { in copyPhysRegTuple()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp612 int incrementUnscheduledDeps(int Incr) { in incrementUnscheduledDeps()
613 UnscheduledDeps += Incr; in incrementUnscheduledDeps()
614 return FirstInBundle->UnscheduledDepsInBundle += Incr; in incrementUnscheduledDeps()