Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DPriorityWorklist.h92 auto InsertResult = M.insert({X, V.size()}); in insert() local
93 if (InsertResult.second) { in insert()
99 auto &Index = InsertResult.first->second; in insert()
124 auto InsertResult = M.insert({V[i], i}); in insert() local
125 if (InsertResult.second) in insert()
130 ptrdiff_t &Index = InsertResult.first->second; in insert()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A DDeltaTree.cpp57 struct InsertResult { struct in __anonb79a93750111::DeltaTreeNode
109 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
111 void DoSplit(InsertResult &InsertRes);
136 DeltaTreeInteriorNode(const InsertResult &IR) in DeltaTreeInteriorNode()
185 InsertResult *InsertRes) { in DoInsertion()
298 void DeltaTreeNode::DoSplit(InsertResult &InsertRes) { in DoSplit()
459 DeltaTreeNode::InsertResult InsertRes; in AddDelta()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp37 auto InsertResult = Strings.insert({S, Entry}); in internString() local
38 return InsertResult.first->getKey(); in internString()
H A DMachineBlockPlacement.cpp1333 auto InsertResult = TriangleChainMap.try_emplace(PDom, &BB, PDom); in precomputeTriangleChains() local
1334 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1335 (void)InsertResult; in precomputeTriangleChains()
1356 auto InsertResult = ComputedEdges.insert({src, {dst, true}}); in precomputeTriangleChains() local
1357 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1358 (void)InsertResult; in precomputeTriangleChains()
H A DLiveDebugVariables.cpp1555 auto InsertResult = NewLocations.insert({Loc, {Spilled, SpillOffset}}); in rewriteLocations() local
1556 unsigned NewLocNo = std::distance(NewLocations.begin(), InsertResult.first); in rewriteLocations()
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DDebugMap.cpp48 auto InsertResult = Symbols.insert( in addSymbol() local
51 if (ObjectAddress && InsertResult.second) in addSymbol()
52 AddressToMapping[*ObjectAddress] = &*InsertResult.first; in addSymbol()
53 return InsertResult.second; in addSymbol()
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp476 auto InsertResult = BuildIDPaths.insert({BuildIDStr, Result}); in getOrFindDebugBinary() local
477 assert(InsertResult.second); in getOrFindDebugBinary()
478 (void)InsertResult; in getOrFindDebugBinary()
596 auto InsertResult = Modules.insert( in createModuleInfo() local
598 assert(InsertResult.second); in createModuleInfo()
601 return InsertResult.first->second.get(); in createModuleInfo()
/llvm-project-15.0.7/polly/lib/Support/
H A DVirtualInstruction.cpp381 auto InsertResult = UsedInsts.insert(VInst); in walkReachable() local
382 if (!InsertResult.second) in walkReachable()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp746 auto InsertResult = ValueInfoNums.insert({Operand, ValueInfos.size() - 1}); in getOrCreateValueInfo() local
747 assert(InsertResult.second && "Value info number already existed?"); in getOrCreateValueInfo()
748 return ValueInfos[InsertResult.first->second]; in getOrCreateValueInfo()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp871 bool InsertResult = RecordsBeingLaidOut.insert(Key).second; in ConvertRecordDeclType() local
872 (void)InsertResult; in ConvertRecordDeclType()
873 assert(InsertResult && "Recursively compiling a struct?"); in ConvertRecordDeclType()
H A DCodeGenModule.cpp5849 auto InsertResult = MaterializedGlobalTemporaryMap.insert({E, nullptr}); in GetAddrOfGlobalTemporary() local
5850 if (!InsertResult.second) { in GetAddrOfGlobalTemporary()
5853 if (!InsertResult.first->second) { in GetAddrOfGlobalTemporary()
5858 InsertResult.first->second = new llvm::GlobalVariable( in GetAddrOfGlobalTemporary()
5862 return ConstantAddress(InsertResult.first->second, in GetAddrOfGlobalTemporary()
5864 InsertResult.first->second->stripPointerCasts()) in GetAddrOfGlobalTemporary()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLazyCallGraph.cpp1422 auto InsertResult = in insertTrivialCallEdge() local
1424 if (!InsertResult.second) { in insertTrivialCallEdge()
1426 Edge &E = SourceN->Edges[InsertResult.first->second]; in insertTrivialCallEdge()
1449 auto InsertResult = in insertTrivialRefEdge() local
1451 if (!InsertResult.second) in insertTrivialRefEdge()
H A DScalarEvolution.cpp8682 auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL}); in insert() local
8683 assert(InsertResult.second && "Expected successful insertion!"); in insert()
8684 (void)InsertResult; in insert()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp345 auto InsertResult = Markers.insert( in addMarker() local
348 Marker &M = InsertResult.first->second; in addMarker()
349 if (!InsertResult.second) { in addMarker()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp702 bool InsertResult = getContext().addGenDwarfSection(Section); in ParseSectionArguments() local
703 if (InsertResult) { in ParseSectionArguments()
H A DAsmParser.cpp989 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
990 assert(InsertResult && ".text section should not have debug info yet"); in Run()
991 (void)InsertResult; in Run()
H A DMasmParser.cpp1341 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
1342 assert(InsertResult && ".text section should not have debug info yet"); in Run()
1343 (void)InsertResult; in Run()
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp564 auto InsertResult = in insertFunctionRecordIfNeeded() local
566 if (InsertResult.second) { in insertFunctionRecordIfNeeded()
579 size_t OldRecordIndex = InsertResult.first->second; in insertFunctionRecordIfNeeded()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp477 auto InsertResult = TypeIndices.insert({{Node, ClassTy}, TI}); in recordTypeIndexForDINode() local
478 (void)InsertResult; in recordTypeIndexForDINode()
479 assert(InsertResult.second && "DINode was already assigned a type index"); in recordTypeIndexForDINode()
2727 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex() local
2728 if (!InsertResult.second) in getCompleteTypeIndex()
2729 return InsertResult.first->second; in getCompleteTypeIndex()
/llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp1906 auto InsertResult = in produceMLocTransferFunction() local
1910 assert(InsertResult.second); in produceMLocTransferFunction()
1911 (void)InsertResult; in produceMLocTransferFunction()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp6316 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); in verifyTBAABaseNode() local
6317 (void)InsertResult; in verifyTBAABaseNode()
6318 assert(InsertResult.second && "We just checked!"); in verifyTBAABaseNode()
6463 auto InsertResult = TBAAScalarNodes.insert({MD, Result}); in isValidScalarTBAANode() local
6464 (void)InsertResult; in isValidScalarTBAANode()
6465 assert(InsertResult.second && "Just checked!"); in isValidScalarTBAANode()