Searched refs:InsertResult (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPriorityWorklist.h93 auto InsertResult = M.insert({X, V.size()}); local
94 if (InsertResult.second) {
100 auto &Index = InsertResult.first->second;
125 auto InsertResult = M.insert({V[i], i}); local
126 if (InsertResult.second)
131 ptrdiff_t &Index = InsertResult.first->second;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp36 auto InsertResult = Strings.insert({S, Entry}); local
37 return InsertResult.first->getKey();
H A DMachineBlockPlacement.cpp1276 auto InsertResult = TriangleChainMap.try_emplace(PDom, &BB, PDom); local
1277 assert(InsertResult.second && "Block seen twice.");
1278 (void)InsertResult;
1299 auto InsertResult = ComputedEdges.insert({src, {dst, true}}); local
1300 assert(InsertResult.second && "Block seen twice.");
1301 (void)InsertResult;
H A DLiveDebugVariables.cpp1221 auto InsertResult = NewLocations.insert({Loc, {Spilled, SpillOffset}}); local
1222 unsigned NewLocNo = std::distance(NewLocations.begin(), InsertResult.first);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp57 struct InsertResult { struct in class:__anon678::DeltaTreeNode
109 bool DoInsertion(unsigned FileIndex, int Delta, InsertResult *InsertRes);
111 void DoSplit(InsertResult &InsertRes);
136 DeltaTreeInteriorNode(const InsertResult &IR)
185 InsertResult *InsertRes) {
298 void DeltaTreeNode::DoSplit(InsertResult &InsertRes) {
459 DeltaTreeNode::InsertResult InsertRes;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSpeculateAroundPHIs.cpp227 auto InsertResult = CostsAndCounts.insert({IncomingC, {}}); local
229 ++InsertResult.first->second.Count;
231 if (!InsertResult.second)
234 int &MatCost = InsertResult.first->second.MatCost;
632 auto InsertResult = SpeculatedValueMap.insert({OpPN, {}}); local
633 if (!InsertResult.second)
636 auto &SpeculatedVals = InsertResult.first->second;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp511 auto InsertResult = local
513 assert(InsertResult.second);
516 return InsertResult.first->second.get();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp343 auto InsertResult = Markers.insert( local
346 Marker &M = InsertResult.first->second;
347 if (!InsertResult.second) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp739 bool InsertResult = RecordsBeingLaidOut.insert(Key).second; local
740 (void)InsertResult;
741 assert(InsertResult && "Recursively compiling a struct?");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp429 auto InsertResult = local
431 if (InsertResult.second) {
442 size_t OldRecordIndex = InsertResult.first->second;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp728 auto InsertResult = ValueInfoNums.insert({Operand, ValueInfos.size() - 1}); local
729 assert(InsertResult.second && "Value info number already existed?");
730 return ValueInfos[InsertResult.first->second];
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyCallGraph.cpp1399 auto InsertResult =
1401 if (!InsertResult.second) {
1403 Edge &E = SourceN->Edges[InsertResult.first->second];
1432 auto InsertResult =
1434 if (!InsertResult.second)
H A DScalarEvolution.cpp7255 auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL});
7256 assert(InsertResult.second && "Expected successful insertion!");
7257 (void)InsertResult;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp642 bool InsertResult = getContext().addGenDwarfSection(ELFSection); local
643 if (InsertResult) {
H A DAsmParser.cpp908 bool InsertResult = getContext().addGenDwarfSection(Sec); local
909 assert(InsertResult && ".text section should not have debug info yet");
910 (void)InsertResult;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp465 auto InsertResult = TypeIndices.insert({{Node, ClassTy}, TI}); local
466 (void)InsertResult;
467 assert(InsertResult.second && "DINode was already assigned a type index");
2555 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); local
2556 if (!InsertResult.second)
2557 return InsertResult.first->second;
2573 // use the 'InsertResult' iterator above because it is potentially
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp5203 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); local
5204 (void)InsertResult;
5205 assert(InsertResult.second && "We just checked!");
5350 auto InsertResult = TBAAScalarNodes.insert({MD, Result}); local
5351 (void)InsertResult;
5352 assert(InsertResult.second && "Just checked!");

Completed in 488 milliseconds