Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DPriorityWorklist.h94 auto InsertResult = M.insert({X, V.size()}); in insert() local
95 if (InsertResult.second) { in insert()
101 auto &Index = InsertResult.first->second; in insert()
126 auto InsertResult = M.insert({V[i], i}); in insert() local
127 if (InsertResult.second) in insert()
132 ptrdiff_t &Index = InsertResult.first->second; in insert()
/external/clang/lib/Rewrite/
DDeltaTree.cpp55 struct InsertResult { struct in __anon6bfa93f00111::DeltaTreeNode
106 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
108 void DoSplit(InsertResult &InsertRes);
132 DeltaTreeInteriorNode(const InsertResult &IR) in DeltaTreeInteriorNode()
180 InsertResult *InsertRes) { in DoInsertion()
293 void DeltaTreeNode::DoSplit(InsertResult &InsertRes) { in DoSplit()
455 DeltaTreeNode::InsertResult InsertRes; in AddDelta()
/external/llvm/include/llvm/ADT/
DPriorityWorklist.h90 auto InsertResult = M.insert({X, V.size()}); in insert() local
91 if (InsertResult.second) { in insert()
97 auto &Index = InsertResult.first->second; in insert()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DNonRelocatableStringpool.cpp32 auto InsertResult = Strings.insert({S, Entry}); in internString() local
33 return InsertResult.first->getKey(); in internString()
DDebugMap.cpp49 auto InsertResult = Symbols.insert( in addSymbol() local
52 if (ObjectAddress && InsertResult.second) in addSymbol()
53 AddressToMapping[*ObjectAddress] = &*InsertResult.first; in addSymbol()
54 return InsertResult.second; in addSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp220 auto InsertResult = CostsAndCounts.insert({IncomingC, {}}); in isSafeAndProfitableToSpeculateAroundPHI() local
222 ++InsertResult.first->second.Count; in isSafeAndProfitableToSpeculateAroundPHI()
224 if (!InsertResult.second) in isSafeAndProfitableToSpeculateAroundPHI()
227 int &MatCost = InsertResult.first->second.MatCost; in isSafeAndProfitableToSpeculateAroundPHI()
625 auto InsertResult = SpeculatedValueMap.insert({OpPN, {}}); in speculatePHIs() local
626 if (!InsertResult.second) in speculatePHIs()
629 auto &SpeculatedVals = InsertResult.first->second; in speculatePHIs()
/external/llvm/tools/dsymutil/
DDebugMap.cpp29 auto InsertResult = Symbols.insert( in addSymbol() local
32 if (ObjectAddress && InsertResult.second) in addSymbol()
33 AddressToMapping[*ObjectAddress] = &*InsertResult.first; in addSymbol()
34 return InsertResult.second; in addSymbol()
DDwarfLinker.cpp3534 auto InsertResult = Strings.insert(std::make_pair(S, Entry)); in internString() local
3535 return InsertResult.first->getKey(); in internString()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp427 auto InsertResult = in getOrCreateModuleInfo() local
429 assert(InsertResult.second); in getOrCreateModuleInfo()
432 return InsertResult.first->second.get(); in getOrCreateModuleInfo()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp417 auto InsertResult = in getOrCreateModuleInfo() local
419 assert(InsertResult.second); in getOrCreateModuleInfo()
422 return InsertResult.first->second.get(); in getOrCreateModuleInfo()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp685 bool InsertResult = RecordsBeingLaidOut.insert(Key).second; in ConvertRecordDeclType() local
686 (void)InsertResult; in ConvertRecordDeclType()
687 assert(InsertResult && "Recursively compiling a struct?"); in ConvertRecordDeclType()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp396 auto InsertResult = in insertFunctionRecordIfNeeded() local
398 if (InsertResult.second) { in insertFunctionRecordIfNeeded()
407 size_t OldRecordIndex = InsertResult.first->second; in insertFunctionRecordIfNeeded()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp277 auto InsertResult = TypeIndices.insert({{Node, ClassTy}, TI}); in recordTypeIndexForDINode() local
278 (void)InsertResult; in recordTypeIndexForDINode()
279 assert(InsertResult.second && "DINode was already assigned a type index"); in recordTypeIndexForDINode()
1786 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex() local
1787 if (!InsertResult.second) in getCompleteTypeIndex()
1788 return InsertResult.first->second; in getCompleteTypeIndex()
1816 InsertResult.first->second = TI; in getCompleteTypeIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp420 auto InsertResult = in insertFunctionRecordIfNeeded() local
422 if (InsertResult.second) { in insertFunctionRecordIfNeeded()
433 size_t OldRecordIndex = InsertResult.first->second; in insertFunctionRecordIfNeeded()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp700 auto InsertResult = ValueInfoNums.insert({Operand, ValueInfos.size() - 1}); in getOrCreateValueInfo() local
701 assert(InsertResult.second && "Value info number already existed?"); in getOrCreateValueInfo()
702 return ValueInfos[InsertResult.first->second]; in getOrCreateValueInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLazyCallGraph.cpp1386 auto InsertResult = in insertTrivialCallEdge() local
1388 if (!InsertResult.second) { in insertTrivialCallEdge()
1390 Edge &E = SourceN->Edges[InsertResult.first->second]; in insertTrivialCallEdge()
1419 auto InsertResult = in insertTrivialRefEdge() local
1421 if (!InsertResult.second) in insertTrivialRefEdge()
DScalarEvolution.cpp7146 auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL}); in insert() local
7147 assert(InsertResult.second && "Expected successful insertion!"); in insert()
7148 (void)InsertResult; in insert()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp1210 auto InsertResult = TriangleChainMap.try_emplace(PDom, &BB, PDom); in precomputeTriangleChains() local
1211 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1212 (void)InsertResult; in precomputeTriangleChains()
1233 auto InsertResult = ComputedEdges.insert({src, {dst, true}}); in precomputeTriangleChains() local
1234 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1235 (void)InsertResult; in precomputeTriangleChains()
DLiveDebugVariables.cpp1079 auto InsertResult = NewLocations.insert({Loc, Spilled}); in rewriteLocations() local
1080 unsigned NewLocNo = std::distance(NewLocations.begin(), InsertResult.first); in rewriteLocations()
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp527 bool InsertResult = getContext().addGenDwarfSection(ELFSection); in ParseSectionArguments() local
528 if (InsertResult) { in ParseSectionArguments()
DAsmParser.cpp717 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
718 assert(InsertResult && ".text section should not have debug info yet"); in Run()
719 (void)InsertResult; in Run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DELFAsmParser.cpp636 bool InsertResult = getContext().addGenDwarfSection(ELFSection); in ParseSectionArguments() local
637 if (InsertResult) { in ParseSectionArguments()
DAsmParser.cpp872 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
873 assert(InsertResult && ".text section should not have debug info yet"); in Run()
874 (void)InsertResult; in Run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp367 auto InsertResult = TypeIndices.insert({{Node, ClassTy}, TI}); in recordTypeIndexForDINode() local
368 (void)InsertResult; in recordTypeIndexForDINode()
369 assert(InsertResult.second && "DINode was already assigned a type index"); in recordTypeIndexForDINode()
2308 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex() local
2309 if (!InsertResult.second) in getCompleteTypeIndex()
2310 return InsertResult.first->second; in getCompleteTypeIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp4776 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); in verifyTBAABaseNode() local
4777 (void)InsertResult; in verifyTBAABaseNode()
4778 assert(InsertResult.second && "We just checked!"); in verifyTBAABaseNode()
4923 auto InsertResult = TBAAScalarNodes.insert({MD, Result}); in isValidScalarTBAANode() local
4924 (void)InsertResult; in isValidScalarTBAANode()
4925 assert(InsertResult.second && "Just checked!"); in isValidScalarTBAANode()