Home
last modified time | relevance | path

Searched refs:IndexMap (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/DebugInfo/CodeView/
DTypeRecord.cpp382 static bool remapIndex(ArrayRef<TypeIndex> IndexMap, TypeIndex &Idx) { in remapIndex() argument
387 if (MapPos < IndexMap.size()) { in remapIndex()
388 Idx = IndexMap[MapPos]; in remapIndex()
398 bool ModifierRecord::remapTypeIndices(ArrayRef<TypeIndex> IndexMap) { in remapTypeIndices() argument
399 return remapIndex(IndexMap, ModifiedType); in remapTypeIndices()
402 bool ProcedureRecord::remapTypeIndices(ArrayRef<TypeIndex> IndexMap) { in remapTypeIndices() argument
404 Success &= remapIndex(IndexMap, ReturnType); in remapTypeIndices()
405 Success &= remapIndex(IndexMap, ArgumentList); in remapTypeIndices()
409 bool MemberFunctionRecord::remapTypeIndices(ArrayRef<TypeIndex> IndexMap) { in remapTypeIndices() argument
411 Success &= remapIndex(IndexMap, ReturnType); in remapTypeIndices()
[all …]
DTypeStreamMerger.cpp91 SmallVector<TypeIndex, 0> IndexMap; member in __anonef2762720111::TypeStreamMerger
97 BeginIndexMapSize = IndexMap.size(); in visitTypeBegin()
102 assert(IndexMap.size() == BeginIndexMapSize + 1); in visitTypeEnd()
107 IndexMap.push_back(DestStream.writeFieldList(FieldBuilder)); in visitFieldListEnd()
114 FoundBadTypeIndex |= !Record.remapTypeIndices(IndexMap); \
115 IndexMap.push_back(DestStream.write##Name(Record)); \
121 FoundBadTypeIndex |= !Record.remapTypeIndices(IndexMap); \
130 IndexMap.push_back( in visitUnknownType()
136 assert(IndexMap.empty()); in mergeStream()
142 IndexMap.clear(); in mergeStream()
/external/llvm/include/llvm/DebugInfo/CodeView/
DTypeRecord.h84 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
123 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
153 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
197 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
243 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
270 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
314 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
390 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
419 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
453 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap);
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.cpp283 void HexagonBlockRanges::computeInitialLiveRanges(InstrIndexMap &IndexMap, in computeInitialLiveRanges() argument
287 MachineBasicBlock &B = IndexMap.getBlock(); in computeInitialLiveRanges()
310 IndexType Index = IndexMap.getIndex(&In); in computeInitialLiveRanges()
368 InstrIndexMap &IndexMap) { in computeLiveMap() argument
370 DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": index map\n" << IndexMap << '\n'); in computeLiveMap()
371 computeInitialLiveRanges(IndexMap, LiveMap); in computeLiveMap()
379 InstrIndexMap &IndexMap, RegToRangeMap &LiveMap) { in computeDeadMap() argument
382 auto addDeadRanges = [&IndexMap,&LiveMap,&DeadMap] (RegisterRef R) -> void { in computeDeadMap()
394 IndexType DE = IndexMap.getPrevIndex(A->start()); in computeDeadMap()
403 IndexType DS = IndexMap.getNextIndex(AE); in computeDeadMap()
[all …]
DHexagonBlockRanges.h137 RegToRangeMap computeLiveMap(InstrIndexMap &IndexMap);
138 RegToRangeMap computeDeadMap(InstrIndexMap &IndexMap, RegToRangeMap &LiveMap);
155 void computeInitialLiveRanges(InstrIndexMap &IndexMap,
DHexagonFrameLowering.h132 HexagonBlockRanges::InstrIndexMap &IndexMap,
DHexagonFrameLowering.cpp1829 HexagonBlockRanges::InstrIndexMap &IndexMap, in findPhysReg() argument
1923 auto &IndexMap = P.first->second; in optimizeSpillSlots() local
1925 << IndexMap << '\n'); in optimizeSpillSlots()
1990 IndexType Index = IndexMap.getIndex(&In); in optimizeSpillSlots()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.cpp291 void HexagonBlockRanges::computeInitialLiveRanges(InstrIndexMap &IndexMap, in computeInitialLiveRanges() argument
295 MachineBasicBlock &B = IndexMap.getBlock(); in computeInitialLiveRanges()
319 IndexType Index = IndexMap.getIndex(&In); in computeInitialLiveRanges()
423 InstrIndexMap &IndexMap) { in computeLiveMap() argument
425 LLVM_DEBUG(dbgs() << __func__ << ": index map\n" << IndexMap << '\n'); in computeLiveMap()
426 computeInitialLiveRanges(IndexMap, LiveMap); in computeLiveMap()
433 InstrIndexMap &IndexMap, RegToRangeMap &LiveMap) { in computeDeadMap() argument
436 auto addDeadRanges = [&IndexMap,&LiveMap,&DeadMap] (RegisterRef R) -> void { in computeDeadMap()
448 IndexType DE = IndexMap.getPrevIndex(A->start()); in computeDeadMap()
457 IndexType DS = IndexMap.getNextIndex(AE); in computeDeadMap()
[all …]
DHexagonBlockRanges.h145 RegToRangeMap computeLiveMap(InstrIndexMap &IndexMap);
146 RegToRangeMap computeDeadMap(InstrIndexMap &IndexMap, RegToRangeMap &LiveMap);
165 void computeInitialLiveRanges(InstrIndexMap &IndexMap,
DHexagonFrameLowering.h158 HexagonBlockRanges::InstrIndexMap &IndexMap,
DHexagonFrameLowering.cpp1948 HexagonBlockRanges::InstrIndexMap &IndexMap, in findPhysReg() argument
2029 auto &IndexMap = P.first->second; in optimizeSpillSlots() local
2031 << IndexMap << '\n'); in optimizeSpillSlots()
2098 IndexType Index = IndexMap.getIndex(&In); in optimizeSpillSlots()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DTypeStreamMerger.cpp65 : IndexMap(SourceToDest) { in TypeStreamMerger()
112 return remapIndex(Idx, IndexMap); in remapTypeIndex()
116 return remapIndex(Idx, IndexMap); in remapItemIndex()
183 SmallVectorImpl<TypeIndex> &IndexMap; member in __anon34cadeca0111::TypeStreamMerger
211 assert(IndexMap.size() == slotForIndex(CurIndex) && in addMapping()
213 IndexMap.push_back(Idx); in addMapping()
215 assert(slotForIndex(CurIndex) < IndexMap.size()); in addMapping()
216 IndexMap[slotForIndex(CurIndex)] = Idx; in addMapping()
371 assert((IsSecondPass || IndexMap.size() == slotForIndex(CurIndex)) && in remapType()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp63 DTN2UnsignedMap IndexMap; member in __anon26fc23620111::NearestCommonDominator
83 IndexMap[Node] = ++Numbering; in addBlock()
91 if (IndexMap.count(Node)) in addBlock()
94 IndexMap[Node] = 0; in addBlock()
98 unsigned Numbering = IndexMap[Node]; in addBlock()
/external/perfetto/src/trace_processor/
Dstats_table.h56 TraceStorage::Stats::IndexMap::const_iterator index_{};
Dtrace_storage.h583 using IndexMap = std::map<int, int64_t>; member
585 IndexMap indexed_values;