Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp57 struct InsertResult { struct in __anon5fc690450111::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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp29 auto InsertResult = Strings.insert({S, Entry}); in internString() local
30 return InsertResult.first->getKey(); in internString()
H A DMachineBlockPlacement.cpp1349 auto InsertResult = TriangleChainMap.try_emplace(PDom, &BB, PDom); in precomputeTriangleChains() local
1350 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1351 (void)InsertResult; in precomputeTriangleChains()
1372 auto InsertResult = ComputedEdges.insert({src, {dst, true}}); in precomputeTriangleChains() local
1373 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1374 (void)InsertResult; in precomputeTriangleChains()
H A DAssignmentTrackingAnalysis.cpp2538 auto InsertResult = in removeRedundantDbgLocsUsingBackwardScan() local
2540 bool FirstDefinition = InsertResult.second; in removeRedundantDbgLocsUsingBackwardScan()
2541 BitVector &DefinedBytes = InsertResult.first->second; in removeRedundantDbgLocsUsingBackwardScan()
H A DLiveDebugVariables.cpp1559 auto InsertResult = NewLocations.insert({Loc, {Spilled, SpillOffset}}); in rewriteLocations() local
1560 unsigned NewLocNo = std::distance(NewLocations.begin(), InsertResult.first); in rewriteLocations()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp489 auto InsertResult = BuildIDPaths.insert({BuildIDStr, Result}); in getOrFindDebugBinary() local
490 assert(InsertResult.second); in getOrFindDebugBinary()
491 (void)InsertResult; in getOrFindDebugBinary()
594 auto InsertResult = Modules.insert( in createModuleInfo() local
596 assert(InsertResult.second); in createModuleInfo()
599 return InsertResult.first->second.get(); in createModuleInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp737 auto InsertResult = ValueInfoNums.insert({Operand, ValueInfos.size() - 1}); in getOrCreateValueInfo() local
738 assert(InsertResult.second && "Value info number already existed?"); in getOrCreateValueInfo()
739 return ValueInfos[InsertResult.first->second]; in getOrCreateValueInfo()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp717 bool InsertResult = getContext().addGenDwarfSection(Section); in ParseSectionArguments() local
718 if (InsertResult && getContext().getDwarfVersion() <= 2) 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()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp615 auto InsertResult = in insertFunctionRecordIfNeeded() local
617 if (InsertResult.second) { in insertFunctionRecordIfNeeded()
630 size_t OldRecordIndex = InsertResult.first->second; in insertFunctionRecordIfNeeded()
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp964 InsertResult = LegalTypes.insert({Idx, T}); in computeType() local
965 return &(InsertResult.first->second); in computeType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp479 auto InsertResult = TypeIndices.insert({{Node, ClassTy}, TI}); in recordTypeIndexForDINode()
480 (void)InsertResult;
481 assert(InsertResult.second && "DINode was already assigned a type index"); in getPointerSizeInBytes()
2779 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex()
2780 if (!InsertResult.second) in getCompleteTypeIndex()
2781 return InsertResult.first->second; in getCompleteTypeIndex()
2797 // use the 'InsertResult' iterator above because it is potentially in emitDeferredCompleteTypes()
475 auto InsertResult = TypeIndices.insert({{Node, ClassTy}, TI}); recordTypeIndexForDINode() local
2761 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); getCompleteTypeIndex() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2340 auto InsertResult = in produceMLocTransferFunction() local
2344 assert(InsertResult.second); in produceMLocTransferFunction()
2345 (void)InsertResult; in produceMLocTransferFunction()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp7236 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); in verifyTBAABaseNode() local
7237 (void)InsertResult; in verifyTBAABaseNode()
7238 assert(InsertResult.second && "We just checked!"); in verifyTBAABaseNode()
7383 auto InsertResult = TBAAScalarNodes.insert({MD, Result}); in isValidScalarTBAANode() local
7384 (void)InsertResult; in isValidScalarTBAANode()
7385 assert(InsertResult.second && "Just checked!"); in isValidScalarTBAANode()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp6601 auto InsertResult = MaterializedGlobalTemporaryMap.insert({E, nullptr}); in GetAddrOfGlobalTemporary() local
6602 if (!InsertResult.second) { in GetAddrOfGlobalTemporary()
6605 if (!InsertResult.first->second) { in GetAddrOfGlobalTemporary()
6610 InsertResult.first->second = new llvm::GlobalVariable( in GetAddrOfGlobalTemporary()
6614 return ConstantAddress(InsertResult.first->second, in GetAddrOfGlobalTemporary()
6616 InsertResult.first->second->stripPointerCasts()) in GetAddrOfGlobalTemporary()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp8947 auto InsertResult = TripCountMap.insert({{ExitCond, ControlsOnlyExit}, EL}); in insert() local
8948 assert(InsertResult.second && "Expected successful insertion!"); in insert()
8949 (void)InsertResult; in insert()