Home
last modified time | relevance | path

Searched refs:getNumber (Results 1 – 25 of 262) sorted by relevance

1234567891011

/external/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGStackify.cpp78 if (MBB->getNumber() > Bottom->getNumber()) in LoopBottom()
105 return A->getNumber() > B->getNumber(); in operator ()()
112 return A->getNumber() < B->getNumber(); in operator ()()
147 NumPredsLeft[MBB.getNumber()] = N; in SortBlocks()
188 if (--NumPredsLeft[Succ->getNumber()] == 0) in SortBlocks()
207 if (Next->getNumber() < MBB->getNumber() && in SortBlocks()
209 L->getHeader()->getNumber() < Next->getNumber())) { in SortBlocks()
254 assert(MBB.getNumber() >= 0 && "Renumbered blocks should be non-negative."); in SortBlocks()
262 (Pred->getNumber() < MBB.getNumber() || Loop->contains(Pred)) && in SortBlocks()
268 assert(Pred->getNumber() < MBB.getNumber() && in SortBlocks()
[all …]
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp87 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()]; in getResources()
123 unsigned PROffset = MBB->getNumber() * PRKinds; in getResources()
165 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources()
167 unsigned PROffset = MBB->getNumber() * PRKinds; in computeDepthResources()
172 TBI->Head = MBB->getNumber(); in computeDepthResources()
180 unsigned PredNum = TBI->Pred->getNumber(); in computeDepthResources()
198 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeHeightResources()
200 unsigned PROffset = MBB->getNumber() * PRKinds; in computeHeightResources()
204 ArrayRef<unsigned> PRCycles = MTM.getProcResourceCycles(MBB->getNumber()); in computeHeightResources()
208 TBI->Tail = MBB->getNumber(); in computeHeightResources()
[all …]
DEdgeBundles.cpp45 unsigned OutE = 2 * MBB.getNumber() + 1; in runOnMachineFunction()
49 EC.join(OutE, 2 * (*SI)->getNumber()); in runOnMachineFunction()
80 unsigned BB = MBB.getNumber(); in WriteGraph()
86 O << "\t\"BB#" << BB << "\" -> \"BB#" << (*SI)->getNumber() in WriteGraph()
DEarlyIfConversion.cpp188 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " has live-ins.\n"); in canSpeculateInstrs()
202 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " has more than " in canSpeculateInstrs()
249 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " depends on " << *DefMI); in canSpeculateInstrs()
364 DEBUG(dbgs() << "\nDiamond: BB#" << Head->getNumber() in canConvertIf()
365 << " -> BB#" << Succ0->getNumber() in canConvertIf()
366 << "/BB#" << Succ1->getNumber() in canConvertIf()
367 << " -> BB#" << Tail->getNumber() << '\n'); in canConvertIf()
375 DEBUG(dbgs() << "\nTriangle: BB#" << Head->getNumber() in canConvertIf()
376 << " -> BB#" << Succ0->getNumber() in canConvertIf()
377 << " -> BB#" << Tail->getNumber() << '\n'); in canConvertIf()
[all …]
DShrinkWrap.cpp409 VisitedBB.set(MBB->getNumber()); in isIrreducibleCFG()
411 if (!VisitedBB.test(SuccBB->getNumber())) in isIrreducibleCFG()
447 DEBUG(dbgs() << "Look into: " << MBB.getNumber() << ' ' << MBB.getName() in runOnMachineFunction()
487 << Save->getNumber() << ' ' << Save->getName() << ' ' in runOnMachineFunction()
489 << Restore->getNumber() << ' ' << Restore->getName() << ' ' in runOnMachineFunction()
520 DEBUG(dbgs() << "Final shrink wrap candidates:\nSave: " << Save->getNumber() in runOnMachineFunction()
522 << Restore->getNumber() << ' ' << Restore->getName() << '\n'); in runOnMachineFunction()
DIfConversion.cpp268 return C1->BBI.BB->getNumber() < C2->BBI.BB->getNumber(); in IfcvtTokenCmp()
357 << "): BB#" << BBI.BB->getNumber() << " (" in INITIALIZE_PASS_DEPENDENCY()
359 ? BBI.FalseBB->getNumber() in INITIALIZE_PASS_DEPENDENCY()
360 : BBI.TrueBB->getNumber()) << ") "); in INITIALIZE_PASS_DEPENDENCY()
384 DEBUG(dbgs() << "): BB#" << BBI.BB->getNumber() << " (T:" in INITIALIZE_PASS_DEPENDENCY()
385 << BBI.TrueBB->getNumber() << ",F:" in INITIALIZE_PASS_DEPENDENCY()
386 << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY()
402 DEBUG(dbgs() << "Ifcvt (Diamond): BB#" << BBI.BB->getNumber() << " (T:" in INITIALIZE_PASS_DEPENDENCY()
403 << BBI.TrueBB->getNumber() << ",F:" in INITIALIZE_PASS_DEPENDENCY()
404 << BBI.FalseBB->getNumber() << ") "); in INITIALIZE_PASS_DEPENDENCY()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64BranchRelaxation.cpp121 unsigned PrevNum = MF->begin()->getNumber(); in verify()
124 unsigned Num = MBB.getNumber(); in verify()
135 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs()
136 dbgs() << format("BB#%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset) in dumpBBs()
181 BlockInfo[MBB.getNumber()].Size = Size; in computeBlockSize()
193 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset()
204 unsigned PrevNum = Start.getNumber(); in adjustBlockOffsets()
206 unsigned Num = MBB.getNumber(); in adjustBlockOffsets()
242 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in splitBlockBeforeInstr()
270 unsigned DestOffset = BlockInfo[DestBB->getNumber()].Offset; in isBlockInRange()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCBranchSelector.cpp73 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction()
116 if (Dest->getNumber() <= MBB.getNumber()) { in runOnMachineFunction()
122 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) in runOnMachineFunction()
129 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) in runOnMachineFunction()
162 BlockSizes[MBB.getNumber()] += 4; in runOnMachineFunction()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430BranchSelector.cpp72 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction()
116 if (Dest->getNumber() <= MBB.getNumber()) { in runOnMachineFunction()
122 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) in runOnMachineFunction()
129 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) in runOnMachineFunction()
168 BlockSizes[MBB.getNumber()] += NewSize-2; in runOnMachineFunction()
/external/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp75 BlockSizes[MBB.getNumber()] = BlockSize; in runOnMachineFunction()
119 if (Dest->getNumber() <= MBB.getNumber()) { in runOnMachineFunction()
125 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) in runOnMachineFunction()
132 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) in runOnMachineFunction()
171 BlockSizes[MBB.getNumber()] += NewSize-2; in runOnMachineFunction()
/external/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp103 if (MBB->getNumber() > 0) { in runOnMachineFunction()
105 BlockSizes[MBB->getNumber()-1] += AlignExtra; in runOnMachineFunction()
113 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction()
165 if (Dest->getNumber() <= MBB.getNumber()) { in runOnMachineFunction()
171 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) in runOnMachineFunction()
178 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) in runOnMachineFunction()
229 BlockSizes[MBB.getNumber()] += 4; in runOnMachineFunction()
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
DDefaultInterfaceWithBridges.java25 default Number getNumber() { in getNumber() method
38 default Double getNumber() { in getNumber() method
54 public Number getNumber() { in getNumber() method in DefaultInterfaceWithBridges
55 return ((GenericInterfaceWithDefaultMethod) c).getNumber(); in getNumber()
59 return c.getNumber(); in getDouble()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java65 return unknownFields.getField(field.getNumber()); in getField()
142 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()
145 group.getField(nestedFieldDescriptor.getNumber()); in testGroup()
290 .addField(singularField.getNumber(), in testParseUnknownEnumValue()
292 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in testParseUnknownEnumValue()
295 .addField(repeatedField.getNumber(), in testParseUnknownEnumValue()
297 .addVarint(TestAllTypes.NestedEnum.FOO.getNumber()) in testParseUnknownEnumValue()
299 .addVarint(TestAllTypes.NestedEnum.BAZ.getNumber()) in testParseUnknownEnumValue()
314 .getField(singularField.getNumber()) in testParseUnknownEnumValue()
318 .getField(repeatedField.getNumber()) in testParseUnknownEnumValue()
[all …]
DUnknownEnumValueTest.java107 TestAllTypes.NestedEnum.UNRECOGNIZED.getNumber(); in testUnknownEnumValues()
151 assertEquals(4321, unknown4321.getNumber()); in testUnknownEnumValueInReflectionApi()
152 assertEquals(5432, unknown5432.getNumber()); in testUnknownEnumValueInReflectionApi()
153 assertEquals(6543, unknown6543.getNumber()); in testUnknownEnumValueInReflectionApi()
196 ((EnumValueDescriptor) message.getField(optionalNestedEnumField)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
198 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
200 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
209 ((EnumValueDescriptor) message.getField(optionalNestedEnumField)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
211 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
213 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
DEnumTest.java43 ForeignEnum e = ForeignEnum.forNumber(ForeignEnum.FOREIGN_BAR.getNumber()); in testForNumber()
52 TestAllTypes.OneofFieldCase.ONEOF_NESTED_MESSAGE.getNumber()); in testForNumber_oneof()
60 ForeignEnumLite e = ForeignEnumLite.forNumber(ForeignEnumLite.FOREIGN_LITE_BAR.getNumber()); in testForNumberLite()
69 TestAllTypesLite.OneofFieldCase.ONEOF_NESTED_MESSAGE.getNumber()); in testForNumberLite_oneof()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMConstantIslandPass.cpp241 unsigned MBBId = MBB->getNumber(); in verify()
674 unsigned Offset = BBOffsets[MBB->getNumber()]; in GetOffsetOf()
695 return LHS->getNumber() < RHS->getNumber(); in CompareMBBNumbers()
707 BBSizes.insert(BBSizes.begin()+NewBB->getNumber(), 0); in UpdateForInsertedWaterBlock()
710 BBOffsets.insert(BBOffsets.begin()+NewBB->getNumber(), 0); in UpdateForInsertedWaterBlock()
771 BBSizes.insert(BBSizes.begin()+NewBB->getNumber(), 0); in SplitBlockBeforeInstr()
774 BBOffsets.insert(BBOffsets.begin()+NewBB->getNumber(), 0); in SplitBlockBeforeInstr()
790 unsigned OrigBBI = OrigBB->getNumber(); in SplitBlockBeforeInstr()
791 unsigned NewBBI = NewBB->getNumber(); in SplitBlockBeforeInstr()
889 unsigned CPEOffset = BBOffsets[Water->getNumber()] + in WaterIsInRange()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DObjectCodeEmitter.cpp104 if (MBBLocations.size() <= (unsigned)MBB->getNumber()) in StartMachineBasicBlock()
105 MBBLocations.resize((MBB->getNumber()+1)*2); in StartMachineBasicBlock()
106 MBBLocations[MBB->getNumber()] = getCurrentPCOffset(); in StartMachineBasicBlock()
114 assert(MBBLocations.size() > (unsigned)MBB->getNumber() && in getMachineBasicBlockAddress()
115 MBBLocations[MBB->getNumber()] && "MBB not emitted!"); in getMachineBasicBlockAddress()
116 return MBBLocations[MBB->getNumber()]; in getMachineBasicBlockAddress()
DMachineLoopRanges.cpp77 unsigned MachineLoopRange::getNumber() const { in getNumber() function in MachineLoopRange
78 return Loop->getHeader()->getNumber(); in getNumber()
86 unsigned na = a->getNumber(); in byNumber()
87 unsigned nb = b->getNumber(); in byNumber()
108 OS << "Loop#" << getNumber() << " ="; in print()
DEdgeBundles.cpp47 unsigned OutE = 2 * MBB.getNumber() + 1; in runOnMachineFunction()
51 EC.join(OutE, 2 * (*SI)->getNumber()); in runOnMachineFunction()
86 unsigned BB = I->getNumber(); in WriteGraph()
92 O << "\t\"BB#" << BB << "\" -> \"BB#" << (*SI)->getNumber() in WriteGraph()
DIfConversion.cpp244 return C1->BBI.BB->getNumber() < C2->BBI.BB->getNumber(); in IfcvtTokenCmp()
324 << "): BB#" << BBI.BB->getNumber() << " (" in runOnMachineFunction()
326 ? BBI.FalseBB->getNumber() in runOnMachineFunction()
327 : BBI.TrueBB->getNumber()) << ") "); in runOnMachineFunction()
351 DEBUG(dbgs() << "): BB#" << BBI.BB->getNumber() << " (T:" in runOnMachineFunction()
352 << BBI.TrueBB->getNumber() << ",F:" in runOnMachineFunction()
353 << BBI.FalseBB->getNumber() << ") "); in runOnMachineFunction()
369 DEBUG(dbgs() << "Ifcvt (Diamond): BB#" << BBI.BB->getNumber() << " (T:" in runOnMachineFunction()
370 << BBI.TrueBB->getNumber() << ",F:" in runOnMachineFunction()
371 << BBI.FalseBB->getNumber() << ") "); in runOnMachineFunction()
[all …]
/external/llvm/lib/Target/X86/
DX86VZeroUpper.cpp169 if (!BlockStates[MBB.getNumber()].AddedToDirtySuccessors) { in addDirtySuccessor()
171 BlockStates[MBB.getNumber()].AddedToDirtySuccessors = true; in addDirtySuccessor()
182 BlockStates[MBB.getNumber()].FirstUnguardedCall = MBB.end(); in processBasicBlock()
239 BlockStates[MBB.getNumber()].FirstUnguardedCall = MI; in processBasicBlock()
244 DEBUG(dbgs() << "MBB #" << MBB.getNumber() << " exit state: " in processBasicBlock()
253 BlockStates[MBB.getNumber()].ExitState = CurState; in processBasicBlock()
308 BlockState &BBState = BlockStates[MBB.getNumber()]; in runOnMachineFunction()
319 DEBUG(dbgs() << "MBB #" << MBB.getNumber() in runOnMachineFunction()
/external/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp800 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
816 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
830 return LHS->getNumber() < RHS->getNumber(); in CompareMBBNumbers()
843 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
893 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in splitBlockBeforeInstr()
953 unsigned CPEOffset = BBInfo[Water->getNumber()].postOffset(CPELogAlign); in isWaterInRange()
957 NextBlockOffset = BBInfo[Water->getNumber()].postOffset(); in isWaterInRange()
960 NextBlockOffset = BBInfo[NextBlock->getNumber()].Offset; in isWaterInRange()
997 unsigned Block = MI->getParent()->getNumber(); in isCPEntryInRange()
1028 unsigned BBNum = BB->getNumber(); in adjustBBOffsetsAfter()
[all …]
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp356 return BBInfo[LHS.getNumber()].postOffset() < in verify()
357 BBInfo[RHS.getNumber()].postOffset(); in verify()
907 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
939 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
953 return LHS->getNumber() < RHS->getNumber(); in CompareMBBNumbers()
965 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
1016 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in splitBlockBeforeInstr()
1054 const BasicBlockInfo &BBI = BBInfo[U.MI->getParent()->getNumber()]; in getUserOffset()
1103 unsigned CPEOffset = BBInfo[Water->getNumber()].postOffset(CPELogAlign); in isWaterInRange()
1107 NextBlockOffset = BBInfo[Water->getNumber()].postOffset(); in isWaterInRange()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp71 dbgs() << msg << "BB" << b->getNumber() << "size " << b->size(); \
78 dbgs() << msg << "BB" << b->getNumber() << "size " << b->size(); \
194 dbgs() << "BB" << (*iterBlk)->getNumber(); in printOrderedBlocks()
647 dbgs() << "BB" << MBB->getNumber() in isReturnBlock()
873 assert(((*It).first)->getNumber() != -1); in run()
875 dbgs() << "Erase BB" << ((*It).first)->getNumber() << "\n"; in run()
916 dbgs() << "unreachable block BB" << MBB->getNumber() << "\n"; in orderBlocks()
925 dbgs() << "Begin patternMatch BB" << MBB->getNumber() << "\n"; in patternMatch()
932 dbgs() << "End patternMatch BB" << MBB->getNumber() in patternMatch()
1117 << Src1MBB->getNumber() in isSameloopDetachedContbreak()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DCustomClassLoaderConstructorTest.java50 assertEquals(555, bean.getNumber()); in testGetClassForNameWithRoot()
60 assertEquals(555, bean.getNumber()); in testGetClassForNameBean()
75 public int getNumber() { in getNumber() method in CustomClassLoaderConstructorTest.LoaderBean

1234567891011