Home
last modified time | relevance | path

Searched refs:Insertion (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp129 auto Insertion = EntriesByFilename.insert({Filename, nullptr}); in getOrEmplaceEntryForFilename() local
130 if (Insertion.second) in getOrEmplaceEntryForFilename()
131 Insertion.first->second = in getOrEmplaceEntryForFilename()
133 return *Insertion.first->second; in getOrEmplaceEntryForFilename()
141 auto Insertion = EntriesByUID.insert({UID, nullptr}); in getOrEmplaceEntryForUID() local
142 if (Insertion.second) { in getOrEmplaceEntryForUID()
147 Insertion.first->second = new (EntryStorage.Allocate()) in getOrEmplaceEntryForUID()
150 return *Insertion.first->second; in getOrEmplaceEntryForUID()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DInMemoryModuleCache.cpp27 auto Insertion = PCMs.insert(std::make_pair(Filename, std::move(Buffer))); in addPCM() local
28 assert(Insertion.second && "Already has a PCM"); in addPCM()
29 return *Insertion.first->second.Buffer; in addPCM()
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dframe-27.mir24 # CHECK-NEXT: # *** IR Dump After Prologue/Epilogue Insertion & Frame Finalization
47 # CHECK-NEXT: # *** IR Dump After Prologue/Epilogue Insertion & Frame Finalization
70 # CHECK-NEXT: # *** IR Dump After Prologue/Epilogue Insertion & Frame Finalization
99 # CHECK-NEXT: # *** IR Dump After Prologue/Epilogue Insertion & Frame Finalization
136 # CHECK-NEXT: # *** IR Dump After Prologue/Epilogue Insertion & Frame Finalization
170 # CHECK-NEXT: # *** IR Dump After Prologue/Epilogue Insertion & Frame Finalization
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DPreferMemberInitializerCheck.cpp209 SmallString<128> Insertion( in check() local
216 Diag << FixItHint::CreateInsertion(FieldEnd, Insertion) in check()
305 SmallString<128> Insertion({InsertPrefix, Field->getName(), "(", in check() local
307 Diag << FixItHint::CreateInsertion(InsertPos, Insertion, in check()
H A DProTypeMemberInitCheck.cpp257 for (const auto &Insertion : in fixInitializerList() local
259 if (!Insertion.Initializers.empty()) in fixInitializerList()
260 Diag << FixItHint::CreateInsertion(Insertion.getLocation(Context, *Ctor), in fixInitializerList()
261 Insertion.codeToInsert()); in fixInitializerList()
/llvm-project-15.0.7/llvm/lib/IR/
H A DType.cpp371 auto Insertion = pImpl->FunctionTypes.insert_as(nullptr, Key); in get() local
372 if (Insertion.second) { in get()
379 *Insertion.first = FT; in get()
382 FT = *Insertion.first; in get()
417 auto Insertion = pImpl->AnonStructTypes.insert_as(nullptr, Key); in get() local
418 if (Insertion.second) { in get()
424 *Insertion.first = ST; in get()
427 ST = *Insertion.first; in get()
/llvm-project-15.0.7/clang/lib/Basic/
H A DFileManager.cpp509 auto Insertion = SeenBypassFileEntries->insert( in getBypassFile() local
511 if (!Insertion.second) in getBypassFile()
512 return FileEntryRef(*Insertion.first); in getBypassFile()
517 Insertion.first->second = FileEntryRef::MapValue(*BFE, VF.getDir()); in getBypassFile()
518 BFE->LastRef = FileEntryRef(*Insertion.first); in getBypassFile()
525 return FileEntryRef(*Insertion.first); in getBypassFile()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp749 const auto Insertion = createInsertion( in moveClassForwardDeclaration() local
753 InsertFwd.InsertionOffset = Insertion.getOffset(); in moveClassForwardDeclaration()
754 InsertFwd.ForwardDeclText = Insertion.getReplacementText().str(); in moveClassForwardDeclaration()
755 InsertFwdDecls[std::string(Insertion.getFilePath())].push_back(InsertFwd); in moveClassForwardDeclaration()
990 tooling::Replacement Insertion(FilePath, NewInsertionOffset, 0, in onEndOfTranslationUnit() local
993 addOrMergeReplacement(Insertion, &NewReplacements); in onEndOfTranslationUnit()
1001 tooling::Replacement Insertion(FilePath, NewInsertionOffset, 0, in onEndOfTranslationUnit() local
1003 addOrMergeReplacement(Insertion, &NewReplacements); in onEndOfTranslationUnit()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dcfi-inserter-check-order.ll10 ; CHECK-NOT: Prologue/Epilogue Insertion & Frame Finalization
H A DO0-pipeline.ll56 ; CHECK-NEXT: Prologue/Epilogue Insertion & Frame Finalization
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAvailability.cpp400 Optional<AttributeInsertion> Insertion = createAttributeInsertion( in DoEmitAvailabilityWarning() local
402 if (!Insertion) in DoEmitAvailabilityWarning()
411 Insertion->Loc, in DoEmitAvailabilityWarning()
412 (llvm::Twine(Insertion->Prefix) + "API_AVAILABLE(" + PlatformName + in DoEmitAvailabilityWarning()
413 "(" + Introduced + "))" + Insertion->Suffix) in DoEmitAvailabilityWarning()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCCodeView.cpp150 auto Insertion = in addToStringTable() local
154 std::make_pair(Insertion.first->first(), Insertion.first->second); in addToStringTable()
155 if (Insertion.second) { in addToStringTable()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCodeComplete.h193 llvm::Optional<TextEdit> Insertion; member
H A DHeaders.cpp362 if (auto Insertion = Inserter.insert(VerbatimHeader.trim("\"<>"), in insert() local
364 Edit = replacementToEdit(Code, *Insertion); in insert()
/llvm-project-15.0.7/llvm/lib/Object/
H A DArchiveWriter.cpp295 auto Insertion = MemberNames.insert({M.MemberName, uint64_t(0)}); in printMemberHeader() local
296 if (Insertion.second) { in printMemberHeader()
297 Insertion.first->second = StringTable.tell(); in printMemberHeader()
300 NamePos = Insertion.first->second; in printMemberHeader()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp787 auto Insertion = RecordsWithOpaqueMemberPointers.insert({C, nullptr}); in ConvertType() local
788 if (Insertion.second) in ConvertType()
789 Insertion.first->second = llvm::StructType::create(getLLVMContext()); in ConvertType()
790 ResultType = Insertion.first->second; in ConvertType()
/llvm-project-15.0.7/llvm/test/Transforms/LoopStrengthReduce/
H A Dphi_ehpad_ignore_sameval.ll4 ; "Insertion point must be a normal instruction" assertion.
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp119 const auto Insertion = BaseToIndex.try_emplace(Base, Order); in getBaseId() local
120 if (Insertion.second) in getBaseId()
122 return Insertion.first->second; in getBaseId()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp694 auto Insertion = MetadataMap.insert(std::make_pair(MD, MDIndex(F))); in enumerateMetadataImpl() local
695 MDIndex &Entry = Insertion.first->second; in enumerateMetadataImpl()
696 if (!Insertion.second) { in enumerateMetadataImpl()
699 dropFunctionFromMetadata(*Insertion.first); in enumerateMetadataImpl()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp699 auto Insertion = MetadataMap.insert(std::make_pair(MD, MDIndex(F))); in enumerateMetadataImpl() local
700 MDIndex &Entry = Insertion.first->second; in enumerateMetadataImpl()
701 if (!Insertion.second) { in enumerateMetadataImpl()
704 dropFunctionFromMetadata(*Insertion.first); in enumerateMetadataImpl()
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A DO0-pipeline.ll46 ; CHECK-NEXT: Prologue/Epilogue Insertion & Frame Finalization
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp204 auto Insertion = FileIdMap.insert(std::make_pair(FullPath, NextId)); in maybeRecordFile() local
205 if (Insertion.second) { in maybeRecordFile()
232 return Insertion.first->second; in maybeRecordFile()
1445 auto Insertion = FnDebugInfo.insert({&GV, std::make_unique<FunctionInfo>()}); in beginFunctionImpl() local
1446 assert(Insertion.second && "function already has info"); in beginFunctionImpl()
1447 CurFn = Insertion.first->second.get(); in beginFunctionImpl()
3204 auto Insertion = ScopeGlobals.insert( in collectGlobalVariableInfo() local
3206 if (Insertion.second) in collectGlobalVariableInfo()
3207 Insertion.first->second = std::make_unique<GlobalVariableList>(); in collectGlobalVariableInfo()
3208 VariableList = Insertion.first->second.get(); in collectGlobalVariableInfo()
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A DO3-pipeline.ll60 ; CHECK-NEXT: Hardware Loop Insertion
148 ; CHECK-NEXT: Prologue/Epilogue Insertion & Frame Finalization
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A DO0-pipeline.ll54 ; CHECK-NEXT: Prologue/Epilogue Insertion & Frame Finalization
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A DO3-pipeline.ll79 ; CHECK-NEXT: Hardware Loop Insertion
181 ; CHECK-NEXT: Prologue/Epilogue Insertion & Frame Finalization

123