Home
last modified time | relevance | path

Searched refs:IndexMap (Results 1 – 8 of 8) 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 __anone954abe80111::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/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp63 DTN2UnsignedMap IndexMap; member in __anona262f0980111::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()