Home
last modified time | relevance | path

Searched refs:IG (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DIndexAction.cpp45 IncludeGraphCollector(const SourceManager &SM, IncludeGraph &IG) in IncludeGraphCollector()
46 : SM(SM), IG(IG) {} in IncludeGraphCollector()
65 auto I = IG.try_emplace(*URI).first; in FileChanged()
100 auto NodeForInclude = IG.try_emplace(*IncludeURI).first->getKey(); in InclusionDirective()
101 auto NodeForIncluding = IG.try_emplace(*IncludingURI); in InclusionDirective()
113 auto I = IG.try_emplace(*URI); in FileSkipped()
122 IncludeGraph &IG; member
161 std::make_unique<IncludeGraphCollector>(CI.getSourceManager(), IG)); in CreateASTConsumer()
191 for (const auto &Node : IG) in EndSourceFileAction()
194 IncludeGraphCallback(std::move(IG)); in EndSourceFileAction()
[all …]
H A DFileIndex.cpp109 IncludeGraph IG; in getSubGraph() local
111 auto Entry = IG.try_emplace(URI).first; in getSubGraph()
118 auto I = IG.try_emplace(Include).first; in getSubGraph()
122 return IG; in getSubGraph()
177 ShardIt.first->getValue().IG = getSubGraph(It.first(), FullGraph); in FileShardedIndex()
198 IF.Sources = It->getValue().IG; in getShard()
H A DFileIndex.h193 IncludeGraph IG; member
H A DBackground.cpp312 [&](IncludeGraph IG) { Index.Sources = std::move(IG); }); in index() argument
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp1038 auto *IG = IAI.getInterleaveGroup(Inst); in visitBlock() local
1039 if (!IG) in visitBlock()
1042 auto NewIGIter = Old2New.find(IG); in visitBlock()
1044 Old2New[IG] = new InterleaveGroup<VPInstruction>( in visitBlock()
1045 IG->getFactor(), IG->isReverse(), IG->getAlign()); in visitBlock()
1047 if (Inst == IG->getInsertPos()) in visitBlock()
1048 Old2New[IG]->setInsertPos(VPInst); in visitBlock()
1050 InterleaveGroupMap[VPInst] = Old2New[IG]; in visitBlock()
1052 VPInst, IG->getIndex(Inst), in visitBlock()
1053 Align(IG->isReverse() ? (-1) * int(IG->getFactor()) in visitBlock()
[all …]
H A DVPlan.h1425 const InterleaveGroup<Instruction> *IG; variable
1430 VPInterleaveRecipe(const InterleaveGroup<Instruction> *IG, VPValue *Addr, in VPInterleaveRecipe() argument
1432 : VPRecipeBase(VPInterleaveSC, {Addr}), IG(IG) { in VPInterleaveRecipe()
1433 for (unsigned i = 0; i < IG->getFactor(); ++i)
1434 if (Instruction *I = IG->getMember(i)) {
1484 const InterleaveGroup<Instruction> *getInterleaveGroup() { return IG; } in getInterleaveGroup()
H A DLoopVectorize.cpp8739 InterleaveGroups.insert(IG); in buildVPlanWithVPRecipes()
8740 for (unsigned i = 0; i < IG->getFactor(); i++) in buildVPlanWithVPRecipes()
8741 if (Instruction *Member = IG->getMember(i)) in buildVPlanWithVPRecipes()
8992 for (auto IG : InterleaveGroups) { in buildVPlanWithVPRecipes() local
8994 RecipeBuilder.getRecipe(IG->getInsertPos())); in buildVPlanWithVPRecipes()
8996 for (unsigned i = 0; i < IG->getFactor(); ++i) in buildVPlanWithVPRecipes()
9007 for (unsigned i = 0; i < IG->getFactor(); ++i) in buildVPlanWithVPRecipes()
9008 if (Instruction *Member = IG->getMember(i)) { in buildVPlanWithVPRecipes()
9199 IG->getInsertPos()->printAsOperand(O, false); in print()
9209 for (unsigned i = 0; i < IG->getFactor(); ++i) { in print()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DIndexActionTests.cpp61 std::map<std::string, const IncludeGraphNode &> toMap(const IncludeGraph &IG) { in toMap() argument
63 for (auto &I : IG) in toMap()
83 [&](IncludeGraph IG) { IndexFile.Sources = std::move(IG); }); in __anonae56ce760502() argument
H A DFileIndexTests.cpp615 IncludeGraph &IG = *IF.Sources; in TEST() local
618 auto &Node = IG[BSourceUri]; in TEST()
624 auto &Node = IG[BHeaderUri]; in TEST()
630 auto &Node = IG[AHeaderUri]; in TEST()
/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp92 void DiagnoseIndirectOrAsmJump(Stmt *IG, unsigned IGScope, LabelDecl *Target,
739 Stmt *IG = *I; in VerifyIndirectOrAsmJumps() local
740 if (CHECK_PERMISSIVE(!LabelAndGotoScopes.count(IG))) in VerifyIndirectOrAsmJumps()
742 unsigned IGScope = LabelAndGotoScopes[IG]; in VerifyIndirectOrAsmJumps()
744 if (!Entry) Entry = IG; in VerifyIndirectOrAsmJumps()
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp751 InstantiationGroup IG{InstantiationSet.first.first, in getInstantiationGroups() local
754 Result.emplace_back(std::move(IG)); in getInstantiationGroups()
/llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/
H A DVPlanTest.cpp897 InterleaveGroup<Instruction> IG(4, false, Align(4)); in TEST() local
898 VPInterleaveRecipe Recipe(&IG, &Addr, {}, &Mask); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.cpp511 R600InstrInfo::fitsReadPortLimitations(const std::vector<MachineInstr *> &IG, in fitsReadPortLimitations() argument
522 for (MachineInstr *MI : IG) { in fitsReadPortLimitations()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dstore-private.ll31 ; IG 0: Get the byte index and truncate the value
64 ; IG 0: Get the byte index and truncate the value
/llvm-project-15.0.7/llvm/test/Demangle/
H A Dms-string-literals.test126 ??_C@_01NDPPNCMN@?$IG?$AA@