Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPriorityWorklist.h93 auto InsertResult = M.insert({X, V.size()}); in insert() local
94 if (InsertResult.second) { in insert()
100 auto &Index = InsertResult.first->second; in insert()
125 auto InsertResult = M.insert({V[i], i}); in insert() local
126 if (InsertResult.second) in insert()
131 ptrdiff_t &Index = InsertResult.first->second; in insert()
/freebsd-13.1/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp57 struct InsertResult { struct in __anon35c056f90111::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-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp36 auto InsertResult = Strings.insert({S, Entry}); in internString() local
37 return InsertResult.first->getKey(); in internString()
H A DMachineBlockPlacement.cpp1313 auto InsertResult = TriangleChainMap.try_emplace(PDom, &BB, PDom); in precomputeTriangleChains() local
1314 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1315 (void)InsertResult; in precomputeTriangleChains()
1336 auto InsertResult = ComputedEdges.insert({src, {dst, true}}); in precomputeTriangleChains() local
1337 assert(InsertResult.second && "Block seen twice."); in precomputeTriangleChains()
1338 (void)InsertResult; in precomputeTriangleChains()
H A DLiveDebugVariables.cpp1571 auto InsertResult = NewLocations.insert({Loc, {Spilled, SpillOffset}}); in rewriteLocations() local
1572 unsigned NewLocNo = std::distance(NewLocations.begin(), InsertResult.first); in rewriteLocations()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp547 auto InsertResult = Modules.insert( in createModuleInfo() local
549 assert(InsertResult.second); in createModuleInfo()
552 return InsertResult.first->second.get(); in createModuleInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp837 bool InsertResult = RecordsBeingLaidOut.insert(Key).second; in ConvertRecordDeclType() local
838 (void)InsertResult; in ConvertRecordDeclType()
839 assert(InsertResult && "Recursively compiling a struct?"); in ConvertRecordDeclType()
H A DCodeGenModule.cpp5460 auto InsertResult = MaterializedGlobalTemporaryMap.insert({E, nullptr}); in GetAddrOfGlobalTemporary() local
5461 if (!InsertResult.second) { in GetAddrOfGlobalTemporary()
5464 if (!InsertResult.first->second) { in GetAddrOfGlobalTemporary()
5469 InsertResult.first->second = new llvm::GlobalVariable( in GetAddrOfGlobalTemporary()
5473 return ConstantAddress(InsertResult.first->second, Align); in GetAddrOfGlobalTemporary()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp754 auto InsertResult = ValueInfoNums.insert({Operand, ValueInfos.size() - 1}); in getOrCreateValueInfo() local
755 assert(InsertResult.second && "Value info number already existed?"); in getOrCreateValueInfo()
756 return ValueInfos[InsertResult.first->second]; in getOrCreateValueInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyCallGraph.cpp1421 auto InsertResult = in insertTrivialCallEdge() local
1423 if (!InsertResult.second) { in insertTrivialCallEdge()
1425 Edge &E = SourceN->Edges[InsertResult.first->second]; in insertTrivialCallEdge()
1448 auto InsertResult = in insertTrivialRefEdge() local
1450 if (!InsertResult.second) in insertTrivialRefEdge()
H A DScalarEvolution.cpp7872 auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL}); in insert() local
7873 assert(InsertResult.second && "Expected successful insertion!"); in insert()
7874 (void)InsertResult; in insert()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp347 auto InsertResult = Markers.insert( in addMarker() local
350 Marker &M = InsertResult.first->second; in addMarker()
351 if (!InsertResult.second) { in addMarker()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp683 bool InsertResult = getContext().addGenDwarfSection(Section); in ParseSectionArguments() local
684 if (InsertResult) { in ParseSectionArguments()
H A DAsmParser.cpp973 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
974 assert(InsertResult && ".text section should not have debug info yet"); in Run()
975 (void)InsertResult; in Run()
H A DMasmParser.cpp1342 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
1343 assert(InsertResult && ".text section should not have debug info yet"); in Run()
1344 (void)InsertResult; in Run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp563 auto InsertResult = in insertFunctionRecordIfNeeded() local
565 if (InsertResult.second) { in insertFunctionRecordIfNeeded()
577 size_t OldRecordIndex = InsertResult.first->second; in insertFunctionRecordIfNeeded()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp473 auto InsertResult = TypeIndices.insert({{Node, ClassTy}, TI}); in recordTypeIndexForDINode() local
474 (void)InsertResult; in recordTypeIndexForDINode()
475 assert(InsertResult.second && "DINode was already assigned a type index"); in recordTypeIndexForDINode()
2619 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex() local
2620 if (!InsertResult.second) in getCompleteTypeIndex()
2621 return InsertResult.first->second; in getCompleteTypeIndex()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp5835 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); in verifyTBAABaseNode() local
5836 (void)InsertResult; in verifyTBAABaseNode()
5837 assert(InsertResult.second && "We just checked!"); in verifyTBAABaseNode()
5982 auto InsertResult = TBAAScalarNodes.insert({MD, Result}); in isValidScalarTBAANode() local
5983 (void)InsertResult; in isValidScalarTBAANode()
5984 assert(InsertResult.second && "Just checked!"); in isValidScalarTBAANode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2477 auto InsertResult = in produceMLocTransferFunction() local
2481 assert(InsertResult.second); in produceMLocTransferFunction()
2482 (void)InsertResult; in produceMLocTransferFunction()