/external/tensorflow/tensorflow/core/lib/gtl/ |
D | cleanup_test.cc | 267 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-10.0/llvm/lib/Target/Mips/ |
D | MipsExpandPseudo.cpp | 412 Register Incr = I->getOperand(2).getReg(); in expandAtomicBinOpSubword() local 444 .addReg(Incr); in expandAtomicBinOpSubword() 469 BuildMI(loopMBB, DL, TII->get(Mips::AND), Incr).addReg(Incr).addReg(Mask); in expandAtomicBinOpSubword() 476 .addReg(Incr); in expandAtomicBinOpSubword() 489 .addReg(Incr) in expandAtomicBinOpSubword() 503 .addReg(Incr) in expandAtomicBinOpSubword() 518 .addReg(Incr); in expandAtomicBinOpSubword() 525 .addReg(Incr) in expandAtomicBinOpSubword() 634 Register Incr = I->getOperand(2).getReg(); in expandAtomicBinOp() local 731 assert((OldVal != Incr) && "Clobbered the wrong reg!"); in expandAtomicBinOp() [all …]
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsExpandPseudo.cpp | 412 Register Incr = I->getOperand(2).getReg(); in expandAtomicBinOpSubword() local 444 .addReg(Incr); in expandAtomicBinOpSubword() 469 BuildMI(loopMBB, DL, TII->get(Mips::AND), Incr).addReg(Incr).addReg(Mask); in expandAtomicBinOpSubword() 476 .addReg(Incr); in expandAtomicBinOpSubword() 489 .addReg(Incr) in expandAtomicBinOpSubword() 503 .addReg(Incr) in expandAtomicBinOpSubword() 518 .addReg(Incr); in expandAtomicBinOpSubword() 525 .addReg(Incr) in expandAtomicBinOpSubword() 634 Register Incr = I->getOperand(2).getReg(); in expandAtomicBinOp() local 731 assert((OldVal != Incr) && "Clobbered the wrong reg!"); in expandAtomicBinOp() [all …]
|
/external/llvm-project/llvm/lib/Target/ARC/ |
D | ARCOptAddrMode.cpp | 90 MachineOperand &Incr, unsigned BaseReg); 221 int64_t Incr; in tryToCombine() local 222 if (!isAddConstantOp(Add, Incr)) in tryToCombine() 224 if (!isValidLoadStoreOffset(Incr)) in tryToCombine() 251 fixPastUses(Uses, B, Incr); in tryToCombine() 343 MachineOperand &Incr, unsigned BaseReg) { in canFixPastUses() argument 345 assert(Incr.isImm() && "Expected immediate increment"); in canFixPastUses() 346 int64_t NewOffset = Incr.getImm(); in canFixPastUses()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCOptAddrMode.cpp | 90 MachineOperand &Incr, unsigned BaseReg); 221 int64_t Incr; in tryToCombine() local 222 if (!isAddConstantOp(Add, Incr)) in tryToCombine() 224 if (!isValidLoadStoreOffset(Incr)) in tryToCombine() 251 fixPastUses(Uses, B, Incr); in tryToCombine() 343 MachineOperand &Incr, unsigned BaseReg) { in canFixPastUses() argument 345 assert(Incr.isImm() && "Expected immediate increment"); in canFixPastUses() 346 int64_t NewOffset = Incr.getImm(); in canFixPastUses()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 225 auto *Incr = dyn_cast<BinaryOperator>(PN->getIncomingValue(BackEdge)); in handleFloatingPointIV() local 226 if (Incr == nullptr || Incr->getOpcode() != Instruction::FAdd) return false; in handleFloatingPointIV() 230 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1)); in handleFloatingPointIV() 232 if (IncValueVal == nullptr || Incr->getOperand(0) != PN || in handleFloatingPointIV() 238 Value::user_iterator IncrUse = Incr->user_begin(); in handleFloatingPointIV() 240 if (IncrUse == Incr->user_end()) return false; in handleFloatingPointIV() 242 if (IncrUse != Incr->user_end()) return false; in handleFloatingPointIV() 369 Incr->getName()+".int", Incr); in handleFloatingPointIV() 387 Incr->replaceAllUsesWith(UndefValue::get(Incr->getType())); in handleFloatingPointIV() 388 RecursivelyDeleteTriviallyDeadInstructions(Incr, TLI, MSSAU.get()); in handleFloatingPointIV()
|
D | LoopStrengthReduce.cpp | 2138 BinaryOperator *Incr = in OptimizeShadowIV() local 2140 if (!Incr) continue; in OptimizeShadowIV() 2141 if (Incr->getOpcode() != Instruction::Add in OptimizeShadowIV() 2142 && Incr->getOpcode() != Instruction::Sub) in OptimizeShadowIV() 2147 if (Incr->getOperand(0) == PH) in OptimizeShadowIV() 2148 C = dyn_cast<ConstantInt>(Incr->getOperand(1)); in OptimizeShadowIV() 2149 else if (Incr->getOperand(1) == PH) in OptimizeShadowIV() 2150 C = dyn_cast<ConstantInt>(Incr->getOperand(0)); in OptimizeShadowIV() 2166 BinaryOperator::Create(Incr->getOpcode() == Instruction::Add ? in OptimizeShadowIV() 2168 NewPH, CFP, "IV.S.next.", Incr); in OptimizeShadowIV()
|
/external/swiftshader/third_party/subzero/crosstest/ |
D | test_vector_ops_main.cpp | 34 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/ |
D | IndVarSimplify.cpp | 259 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()
|
D | LoopStrengthReduce.cpp | 1851 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/grpc-grpc/test/cpp/util/ |
D | metrics_server.h | 59 void Incr();
|
D | metrics_server.cc | 40 void QpsGauge::Incr() { in Incr() function in grpc::testing::QpsGauge
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 321 auto *Incr = dyn_cast<BinaryOperator>(PN->getIncomingValue(BackEdge)); in handleFloatingPointIV() local 322 if (Incr == nullptr || Incr->getOpcode() != Instruction::FAdd) return false; in handleFloatingPointIV() 326 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1)); in handleFloatingPointIV() 328 if (IncValueVal == nullptr || Incr->getOperand(0) != PN || in handleFloatingPointIV() 334 Value::user_iterator IncrUse = Incr->user_begin(); in handleFloatingPointIV() 336 if (IncrUse == Incr->user_end()) return false; in handleFloatingPointIV() 338 if (IncrUse != Incr->user_end()) return false; in handleFloatingPointIV() 465 Incr->getName()+".int", Incr); in handleFloatingPointIV() 483 Incr->replaceAllUsesWith(UndefValue::get(Incr->getType())); in handleFloatingPointIV() 484 RecursivelyDeleteTriviallyDeadInstructions(Incr, TLI); in handleFloatingPointIV()
|
D | LoopStrengthReduce.cpp | 2143 BinaryOperator *Incr = in OptimizeShadowIV() local 2145 if (!Incr) continue; in OptimizeShadowIV() 2146 if (Incr->getOpcode() != Instruction::Add in OptimizeShadowIV() 2147 && Incr->getOpcode() != Instruction::Sub) in OptimizeShadowIV() 2152 if (Incr->getOperand(0) == PH) in OptimizeShadowIV() 2153 C = dyn_cast<ConstantInt>(Incr->getOperand(1)); in OptimizeShadowIV() 2154 else if (Incr->getOperand(1) == PH) in OptimizeShadowIV() 2155 C = dyn_cast<ConstantInt>(Incr->getOperand(0)); in OptimizeShadowIV() 2171 BinaryOperator::Create(Incr->getOpcode() == Instruction::Add ? in OptimizeShadowIV() 2173 NewPH, CFP, "IV.S.next.", Incr); in OptimizeShadowIV()
|
/external/grpc-grpc/test/cpp/interop/ |
D | stress_interop_client.cc | 105 qps_gauge->Incr(); in MainLoop()
|
/external/llvm-project/llvm/lib/Frontend/OpenMP/ |
D | OMPIRBuilder.cpp | 956 Value *Incr = Step; in createCanonicalLoop() local 968 Incr = Builder.CreateSelect(IsNeg, Builder.CreateNeg(Step), Step); in createCanonicalLoop() 982 CountIfLooping = Builder.CreateAdd(Builder.CreateUDiv(Span, Incr), One); in createCanonicalLoop() 986 Builder.CreateUDiv(Builder.CreateSub(Span, One), Incr), One); in createCanonicalLoop() 988 InclusiveStop ? CmpInst::ICMP_ULT : CmpInst::ICMP_ULE, Span, Incr); in createCanonicalLoop()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 538 int Incr; in updateOffset() local 539 if (!HII->getIncrementValue(MJ, Incr)) in updateOffset() 543 if (!HII->isValidOffset(MI.getOpcode(), Offset+Incr, HRI)) in updateOffset() 546 MI.getOperand(OPI).setImm(Offset + Incr); in updateOffset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.cpp | 530 int Incr; in updateOffset() local 531 if (!HII->getIncrementValue(MJ, Incr)) in updateOffset() 535 if (!HII->isValidOffset(MI.getOpcode(), Offset+Incr, HRI)) in updateOffset() 538 MI.getOperand(OPI).setImm(Offset + Incr); in updateOffset()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.h | 211 IRBuilder<> &Builder, AtomicRMWInst *AI, Value *AlignedAddr, Value *Incr,
|
D | RISCVISelLowering.cpp | 2813 IRBuilder<> &Builder, AtomicRMWInst *AI, Value *AlignedAddr, Value *Incr, in emitMaskedAtomicRMWIntrinsic() argument 2824 Incr = Builder.CreateSExt(Incr, Builder.getInt64Ty()); in emitMaskedAtomicRMWIntrinsic() 2844 {AlignedAddr, Incr, Mask, SextShamt, Ordering}); in emitMaskedAtomicRMWIntrinsic() 2847 Builder.CreateCall(LrwOpScwLoop, {AlignedAddr, Incr, Mask, Ordering}); in emitMaskedAtomicRMWIntrinsic()
|
/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.h | 224 Value *AlignedAddr, Value *Incr,
|
D | RISCVISelLowering.cpp | 3524 IRBuilder<> &Builder, AtomicRMWInst *AI, Value *AlignedAddr, Value *Incr, in emitMaskedAtomicRMWIntrinsic() argument 3535 Incr = Builder.CreateSExt(Incr, Builder.getInt64Ty()); in emitMaskedAtomicRMWIntrinsic() 3555 {AlignedAddr, Incr, Mask, SextShamt, Ordering}); in emitMaskedAtomicRMWIntrinsic() 3558 Builder.CreateCall(LrwOpScwLoop, {AlignedAddr, Incr, Mask, Ordering}); in emitMaskedAtomicRMWIntrinsic()
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugLineTest.cpp | 767 virtual uint64_t getAdjustedLine(uint64_t Base, uint64_t Incr) { in getAdjustedLine() 768 return Base + Incr; in getAdjustedLine() 981 uint64_t getAdjustedLine(uint64_t Base, uint64_t Incr) override { in getAdjustedLine() 983 ? AdjustAddressFixtureBase::getAdjustedLine(Base, Incr) in getAdjustedLine()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfUnit.cpp | 575 int Incr = (LittleEndian ? 1 : -1); in addConstantFPValue() local 580 for (; Start != Stop; Start += Incr) in addConstantFPValue()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1144 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()
|