Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Rewrite/
H A DDeltaTree.cpp57 struct InsertResult { struct in __anond26f711c0111::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()
/openbsd-src/gnu/llvm/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.cpp1345 auto InsertResult = TriangleChainMap.try_emplace(PDom, &BB, PDom); in precomputeTriangleChains() local
1346 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1347 (void)InsertResult; in precomputeTriangleChains()
1368 auto InsertResult = ComputedEdges.insert({src, {dst, true}}); in precomputeTriangleChains() local
1369 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1370 (void)InsertResult; in precomputeTriangleChains()
H A DLiveDebugVariables.cpp1558 auto InsertResult = NewLocations.insert({Loc, {Spilled, SpillOffset}}); in rewriteLocations() local
1559 unsigned NewLocNo = std::distance(NewLocations.begin(), InsertResult.first); in rewriteLocations()
/openbsd-src/gnu/llvm/llvm/tools/dsymutil/
H A 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()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp442 auto InsertResult = BuildIDPaths.insert({BuildIDStr, Result}); in getOrFindDebugBinary() local
443 assert(InsertResult.second); in getOrFindDebugBinary()
444 (void)InsertResult; in getOrFindDebugBinary()
547 auto InsertResult = Modules.insert( in createModuleInfo() local
549 assert(InsertResult.second); in createModuleInfo()
552 return InsertResult.first->second.get(); in createModuleInfo()
/openbsd-src/gnu/llvm/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.cpp6013 auto InsertResult = MaterializedGlobalTemporaryMap.insert({E, nullptr}); in GetAddrOfGlobalTemporary() local
6014 if (!InsertResult.second) { in GetAddrOfGlobalTemporary()
6017 if (!InsertResult.first->second) { in GetAddrOfGlobalTemporary()
6022 InsertResult.first->second = new llvm::GlobalVariable( in GetAddrOfGlobalTemporary()
6026 return ConstantAddress(InsertResult.first->second, in GetAddrOfGlobalTemporary()
6028 InsertResult.first->second->stripPointerCasts()) in GetAddrOfGlobalTemporary()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp835 InsertResult = LegalTypes.insert({Idx, T}); in computeType() local
836 return &(InsertResult.first->second); in computeType()
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp702 bool InsertResult = getContext().addGenDwarfSection(Section); in ParseSectionArguments() local
703 if (InsertResult) { in ParseSectionArguments()
H A DAsmParser.cpp991 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
992 assert(InsertResult && ".text section should not have debug info yet"); in Run()
993 (void)InsertResult; in Run()
H A DMasmParser.cpp1361 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
1362 assert(InsertResult && ".text section should not have debug info yet"); in Run()
1363 (void)InsertResult; in Run()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp475 auto InsertResult = TypeIndices.insert({{Node, ClassTy}, TI}); in recordTypeIndexForDINode() local
476 (void)InsertResult; in recordTypeIndexForDINode()
477 assert(InsertResult.second && "DINode was already assigned a type index"); in recordTypeIndexForDINode()
2746 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex() local
2747 if (!InsertResult.second) in getCompleteTypeIndex()
2748 return InsertResult.first->second; in getCompleteTypeIndex()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DVerifier.cpp6469 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); in verifyTBAABaseNode() local
6470 (void)InsertResult; in verifyTBAABaseNode()
6471 assert(InsertResult.second && "We just checked!"); in verifyTBAABaseNode()
6616 auto InsertResult = TBAAScalarNodes.insert({MD, Result}); in isValidScalarTBAANode() local
6617 (void)InsertResult; in isValidScalarTBAANode()
6618 assert(InsertResult.second && "Just checked!"); in isValidScalarTBAANode()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2311 auto InsertResult = in produceMLocTransferFunction() local
2315 assert(InsertResult.second); in produceMLocTransferFunction()
2316 (void)InsertResult; in produceMLocTransferFunction()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolution.cpp8937 auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL}); in insert() local
8938 assert(InsertResult.second && "Expected successful insertion!"); in insert()
8939 (void)InsertResult; in insert()