Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/
H A DDeltaTree.cpp57 struct InsertResult { struct in __anonb6a907500111::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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSpeculateAroundPHIs.cpp227 auto InsertResult = CostsAndCounts.insert({IncomingC, {}}); in isSafeAndProfitableToSpeculateAroundPHI() local
229 ++InsertResult.first->second.Count; in isSafeAndProfitableToSpeculateAroundPHI()
231 if (!InsertResult.second) in isSafeAndProfitableToSpeculateAroundPHI()
234 InstructionCost &MatCost = InsertResult.first->second.MatCost; in isSafeAndProfitableToSpeculateAroundPHI()
638 auto InsertResult = SpeculatedValueMap.insert({OpPN, {}}); in speculatePHIs() local
639 if (!InsertResult.second) in speculatePHIs()
642 auto &SpeculatedVals = InsertResult.first->second; in speculatePHIs()
/netbsd-src/external/apache2/llvm/dist/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.cpp1454 auto InsertResult = NewLocations.insert({Loc, {Spilled, SpillOffset}}); in rewriteLocations() local
1455 unsigned NewLocNo = std::distance(NewLocations.begin(), InsertResult.first); in rewriteLocations()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp546 auto InsertResult = Modules.insert( in createModuleInfo() local
548 assert(InsertResult.second); in createModuleInfo()
551 return InsertResult.first->second.get(); in createModuleInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DPredicateInfo.cpp741 auto InsertResult = ValueInfoNums.insert({Operand, ValueInfos.size() - 1}); in getOrCreateValueInfo() local
742 assert(InsertResult.second && "Value info number already existed?"); in getOrCreateValueInfo()
743 return ValueInfos[InsertResult.first->second]; in getOrCreateValueInfo()
/netbsd-src/external/apache2/llvm/dist/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.cpp5430 auto InsertResult = MaterializedGlobalTemporaryMap.insert({E, nullptr}); in GetAddrOfGlobalTemporary() local
5431 if (!InsertResult.second) { in GetAddrOfGlobalTemporary()
5434 if (!InsertResult.first->second) { in GetAddrOfGlobalTemporary()
5439 InsertResult.first->second = new llvm::GlobalVariable( in GetAddrOfGlobalTemporary()
5443 return ConstantAddress(InsertResult.first->second, Align); in GetAddrOfGlobalTemporary()
/netbsd-src/external/apache2/llvm/dist/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.cpp7635 auto InsertResult = TripCountMap.insert({{ExitCond, ControlsExit}, EL}); in insert() local
7636 assert(InsertResult.second && "Expected successful insertion!"); in insert()
7637 (void)InsertResult; in insert()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp683 bool InsertResult = getContext().addGenDwarfSection(Section); in ParseSectionArguments() local
684 if (InsertResult) { in ParseSectionArguments()
H A DAsmParser.cpp969 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
970 assert(InsertResult && ".text section should not have debug info yet"); in Run()
971 (void)InsertResult; in Run()
H A DMasmParser.cpp1233 bool InsertResult = getContext().addGenDwarfSection(Sec); in Run() local
1234 assert(InsertResult && ".text section should not have debug info yet"); in Run()
1235 (void)InsertResult; in Run()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
2618 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex() local
2619 if (!InsertResult.second) in getCompleteTypeIndex()
2620 return InsertResult.first->second; in getCompleteTypeIndex()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2181 auto InsertResult = in produceMLocTransferFunction() local
2185 assert(InsertResult.second); in produceMLocTransferFunction()
2186 (void)InsertResult; in produceMLocTransferFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DVerifier.cpp5826 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); in verifyTBAABaseNode() local
5827 (void)InsertResult; in verifyTBAABaseNode()
5828 assert(InsertResult.second && "We just checked!"); in verifyTBAABaseNode()
5973 auto InsertResult = TBAAScalarNodes.insert({MD, Result}); in isValidScalarTBAANode() local
5974 (void)InsertResult; in isValidScalarTBAANode()
5975 assert(InsertResult.second && "Just checked!"); in isValidScalarTBAANode()