Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/gtl/
Dcleanup_test.cc267 void Incr(volatile int* ip) { ++*ip; } in Incr() function
268 void Incr() { Incr(&i); } in Incr() function
272 auto fin = gtl::MakeCleanup([] { Incr(); }); in BM_Cleanup()
279 AnyCleanup fin = gtl::MakeCleanup([] { Incr(); }); in BM_AnyCleanup()
286 AnyCleanup fin([] { Incr(); }); in BM_AnyCleanupNoFactory()
294 auto fin = gtl::MakeCleanup([ip] { Incr(ip); }); in BM_CleanupBound()
302 AnyCleanup fin = gtl::MakeCleanup([ip] { Incr(ip); }); in BM_AnyCleanupBound()
310 AnyCleanup fin([ip] { Incr(ip); }); in BM_AnyCleanupNoFactoryBound()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsExpandPseudo.cpp380 unsigned Incr = I->getOperand(2).getReg(); in expandAtomicBinOpSubword() local
412 .addReg(Incr); in expandAtomicBinOpSubword()
424 .addReg(Incr); in expandAtomicBinOpSubword()
431 .addReg(Incr) in expandAtomicBinOpSubword()
519 unsigned Incr = I->getOperand(2).getReg(); in expandAtomicBinOp() local
595 assert((OldVal != Incr) && "Clobbered the wrong reg!"); in expandAtomicBinOp()
597 BuildMI(loopMBB, DL, TII->get(Opcode), Scratch).addReg(OldVal).addReg(Incr); in expandAtomicBinOp()
601 BuildMI(loopMBB, DL, TII->get(AND), Scratch).addReg(OldVal).addReg(Incr); in expandAtomicBinOp()
605 BuildMI(loopMBB, DL, TII->get(OR), Scratch).addReg(Incr).addReg(ZERO); in expandAtomicBinOp()
DMipsISelLowering.cpp1463 unsigned Incr = MI.getOperand(2).getReg(); in emitAtomicBinary() local
1504 unsigned IncrCopy = RegInfo.createVirtualRegister(RegInfo.getRegClass(Incr)); in emitAtomicBinary()
1506 BuildMI(*BB, II, DL, TII->get(Mips::COPY), IncrCopy).addReg(Incr); in emitAtomicBinary()
1567 unsigned Incr = MI.getOperand(2).getReg(); in emitAtomicBinaryPartword() local
1672 BuildMI(BB, DL, TII->get(Mips::SLLV), Incr2).addReg(Incr).addReg(ShiftAmt); in emitAtomicBinaryPartword()
/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/swiftshader/third_party/subzero/crosstest/
Dtest_vector_ops_main.cpp34 Ty Incr; in getTestVectors() local
39 Incr[I] = (ElementTy)I; in getTestVectors()
49 Ty TestVectors[] = {Zero, Incr, Decr, Min, Max}; in getTestVectors()
/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-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp300 auto *Incr = dyn_cast<BinaryOperator>(PN->getIncomingValue(BackEdge)); in handleFloatingPointIV() local
301 if (Incr == nullptr || Incr->getOpcode() != Instruction::FAdd) return; in handleFloatingPointIV()
305 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1)); in handleFloatingPointIV()
307 if (IncValueVal == nullptr || Incr->getOperand(0) != PN || in handleFloatingPointIV()
313 Value::user_iterator IncrUse = Incr->user_begin(); in handleFloatingPointIV()
315 if (IncrUse == Incr->user_end()) return; in handleFloatingPointIV()
317 if (IncrUse != Incr->user_end()) return; in handleFloatingPointIV()
444 Incr->getName()+".int", Incr); in handleFloatingPointIV()
462 Incr->replaceAllUsesWith(UndefValue::get(Incr->getType())); in handleFloatingPointIV()
463 RecursivelyDeleteTriviallyDeadInstructions(Incr, TLI); in handleFloatingPointIV()
DLoopStrengthReduce.cpp2110 BinaryOperator *Incr = in OptimizeShadowIV() local
2112 if (!Incr) continue; in OptimizeShadowIV()
2113 if (Incr->getOpcode() != Instruction::Add in OptimizeShadowIV()
2114 && Incr->getOpcode() != Instruction::Sub) in OptimizeShadowIV()
2119 if (Incr->getOperand(0) == PH) in OptimizeShadowIV()
2120 C = dyn_cast<ConstantInt>(Incr->getOperand(1)); in OptimizeShadowIV()
2121 else if (Incr->getOperand(1) == PH) in OptimizeShadowIV()
2122 C = dyn_cast<ConstantInt>(Incr->getOperand(0)); in OptimizeShadowIV()
2138 BinaryOperator::Create(Incr->getOpcode() == Instruction::Add ? in OptimizeShadowIV()
2140 NewPH, CFP, "IV.S.next.", Incr); in OptimizeShadowIV()
/external/grpc-grpc/test/cpp/util/
Dmetrics_server.h59 void Incr();
Dmetrics_server.cc40 void QpsGauge::Incr() { in Incr() function in grpc::testing::QpsGauge
/external/grpc-grpc/test/cpp/interop/
Dstress_interop_client.cc105 qps_gauge->Incr(); in MainLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonVLIWPacketizer.cpp527 int Incr; in updateOffset() local
528 if (!HII->getIncrementValue(MJ, Incr)) in updateOffset()
532 if (!HII->isValidOffset(MI.getOpcode(), Offset+Incr, HRI)) in updateOffset()
535 MI.getOperand(OPI).setImm(Offset + Incr); in updateOffset()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp609 int Incr = (LittleEndian ? 1 : -1); in addConstantFPValue() local
614 for (; Start != Stop; Start += Incr) in addConstantFPValue()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2435 int SubReg = 0, End = NumRegs, Incr = 1; in copyPhysRegTuple() local
2439 Incr = -1; in copyPhysRegTuple()
2442 for (; SubReg != End; SubReg += Incr) { in copyPhysRegTuple()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp870 int incrementUnscheduledDeps(int Incr) { in incrementUnscheduledDeps()
871 UnscheduledDeps += Incr; in incrementUnscheduledDeps()
872 return FirstInBundle->UnscheduledDepsInBundle += Incr; in incrementUnscheduledDeps()