Home
last modified time | relevance | path

Searched refs:GI (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp99 auto GI = dyn_cast<GetElementPtrInst>(AllocaUse.getUser()); in runOnFunction() local
100 if (GI && GI->getPointerOperand() == allocaInst) { in runOnFunction()
101 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric); in runOnFunction()
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Dnon-precise-inv-load-1.ll6 ; would be &I[-1] = &GI[128 -1] = &GI[127] but in our optimized version
8 ; &I[127 + 1] = &I[128] = &GI[256] which would here also be out-of-bounds.
16 ; int GI[256];
18 ; int *I = &GI[128];
25 @GI = common global [256 x i32] zeroinitializer, align 16
39 …tptr inbounds i32, i32* getelementptr inbounds ([256 x i32], [256 x i32]* @GI, i64 0, i64 128), i6…
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddllimport-constexpr.cpp23 template <int *GI> struct TemplateIntPtr {
24 static int getit() { return *GI; } in getit()
26 template <int &GI> struct TemplateIntRef {
27 static int getit() { return GI; } in getit()
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-free-nonheap-object.cpp11 int GI; variable
48 free(&GI); // expected-warning {{attempt to call free on non-heap object 'GI'}} in test1()
88 std::free(&GI); // expected-warning {{attempt to call std::free on non-heap object 'GI'}} in test2()
H A Dwarn-free-nonheap-object.c12 int GI; variable
15 free(&GI); // expected-warning {{attempt to call free on non-heap object 'GI'}} in test()
/llvm-project-15.0.7/clang/test/ParserHLSL/
H A Dsemantic_parsing.hlsl4 void Entry(int GI : ) { }
7 void Pony(int GI : SV_IWantAPony) { }
/llvm-project-15.0.7/clang/test/SemaHLSL/Semantics/
H A Dentry_parameter.hlsl6 void CSMain(int GI : SV_GroupIndex) {
8 // CHECK-NEXT: ParmVarDecl 0x{{[0-9a-fA-F]+}} <{{.*}}> col:17 GI 'int'
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DGlobalMerge.cpp297 for (size_t GI = 0, GE = Globals.size(); GI != GE; ++GI) { in doMerge() local
298 GlobalVariable *GV = Globals[GI]; in doMerge()
347 CreateGlobalSet().Globals.set(GI); in doMerge()
357 if (UsedGlobalSets[UGSIdx].Globals.test(GI)) { in doMerge()
379 NewUGS.Globals.set(GI); in doMerge()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp406 for (const auto &GI : *ECNode) { in collectAddressTakenFunctions()
407 auto *CGN = GI.second; in collectAddressTakenFunctions()
444 for (const auto &GI : *CGN) { in collectReachableCallees()
445 auto *RCB = cast<CallBase>(*GI.first); in collectReachableCallees()
446 auto *RCGN = GI.second; in collectReachableCallees()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFAdjustOpt.cpp355 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in avoidSpeculation() local
358 for (i = 1, e = GI->getNumOperands(); i != e; ++i) { in avoidSpeculation()
359 Value *V = GI->getOperand(i); in avoidSpeculation()
366 PassThroughInfo Info(&I, GI, i); in avoidSpeculation()
H A DBPFAbstractMemberAccess.cpp574 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceAICall() local
575 if (GI->hasAllZeroIndices()) in traceAICall()
576 traceGEP(GI, Call, ParentInfo); in traceAICall()
605 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceBitCast() local
606 if (GI->hasAllZeroIndices()) in traceBitCast()
607 traceGEP(GI, Parent, ParentInfo); in traceBitCast()
635 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceGEP() local
636 if (GI->hasAllZeroIndices()) in traceGEP()
637 traceGEP(GI, Parent, ParentInfo); in traceGEP()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp501 [&](MachineBasicBlock *MBB, GraphIter GI, unsigned ParentDepth) { in getGadgetGraph() argument
507 Builder.addEdge(ParentDepth, GI, BeginBB.first); in getGadgetGraph()
512 GI = BeginBB.first; in getGadgetGraph()
516 Builder.addEdge(LoopDepth, GI, Ref->getSecond()); in getGadgetGraph()
517 GI = Ref->getSecond(); in getGadgetGraph()
526 Builder.addEdge(LoopDepth, GI, EndBB.first); in getGadgetGraph()
527 GI = EndBB.first; in getGadgetGraph()
531 TraverseCFG(Succ, GI, LoopDepth); in getGadgetGraph()
/llvm-project-15.0.7/llvm/lib/IR/
H A DTypeFinder.cpp52 for (const auto &GI : M.ifuncs()) in run() local
53 incorporateType(GI.getValueType()); in run()
H A DAsmWriter.cpp2577 void printIFunc(const GlobalIFunc *GI);
2819 for (const GlobalIFunc &GI : M->ifuncs()) in printModule() local
2820 printIFunc(&GI); in printModule()
3602 if (GI->isMaterializable()) in printIFunc()
3606 WriteAsOperandInternal(Out, GI, WriterCtx); in printIFunc()
3610 PrintDSOLocation(*GI, Out); in printIFunc()
3611 PrintVisibility(GI->getVisibility(), Out); in printIFunc()
3615 TypePrinter.print(GI->getValueType(), Out); in printIFunc()
3621 TypePrinter.print(GI->getType(), Out); in printIFunc()
3625 if (GI->hasPartition()) { in printIFunc()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp82 if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) { in getCondition() local
83 assert(GI->getIntrinsicID() == Intrinsic::experimental_guard && in getCondition()
85 return GI->getArgOperand(0); in getCondition()
98 if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) { in setCondition() local
99 assert(GI->getIntrinsicID() == Intrinsic::experimental_guard && in setCondition()
101 GI->setArgOperand(0, NewCond); in setCondition()
H A DSimpleLoopUnswitch.cpp2577 turnGuardIntoBranch(IntrinsicInst *GI, Loop &L, in turnGuardIntoBranch() argument
2581 LLVM_DEBUG(dbgs() << "Turning " << *GI << " into a branch.\n"); in turnGuardIntoBranch()
2582 BasicBlock *CheckBB = GI->getParent(); in turnGuardIntoBranch()
2595 SplitBlockAndInsertIfThen(GI->getArgOperand(0), GI, true); in turnGuardIntoBranch()
2610 MSSAU->moveAllAfterSpliceBlocks(CheckBB, GuardedBlock, GI); in turnGuardIntoBranch()
2612 GI->moveBefore(DeoptBlockTerm); in turnGuardIntoBranch()
2613 GI->setArgOperand(0, ConstantInt::getFalse(GI->getContext())); in turnGuardIntoBranch()
2630 MemoryDef *MD = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(GI)); in turnGuardIntoBranch()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSplitModule.cpp94 if (const auto *GI = dyn_cast_or_null<GlobalIFunc>(GO)) in getGVPartitioningRoot() local
95 GO = GI->getResolverFunction(); in getGVPartitioningRoot()
H A DValueMapper.cpp892 else if (auto *GI = dyn_cast<GlobalIFunc>(GV)) in flush() local
893 GI->setResolver(Target); in flush()
1203 void ValueMapper::scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver, in scheduleMapGlobalIFunc() argument
1205 getAsMapper(pImpl)->scheduleMapAliasOrIFunc(GI, Resolver, MCID); in scheduleMapGlobalIFunc()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp176 GroupInfo &GI = in groupDiagnostics() local
178 GI.GroupName = Group->getName(); in groupDiagnostics()
179 GI.Defs.push_back(Group); in groupDiagnostics()
183 GI.SubGroups.push_back( in groupDiagnostics()
329 const GroupInfo &GI = in groupInPedantic() local
331 V.second = GI.SubGroups.size() + GI.DiagsInGroup.size(); in groupInPedantic()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h187 void scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver,
/llvm-project-15.0.7/llvm/lib/Linker/
H A DLinkModules.cpp526 for (GlobalIFunc &GI : SrcM->ifuncs()) in run()
527 if (linkIfNeeded(GI, GVToClone)) in run()
H A DIRMover.cpp616 } else if (auto *GI = dyn_cast<GlobalIFunc>(New)) { in materialize() local
617 if (GI->getResolver()) in materialize()
704 if (auto *GI = dyn_cast<GlobalIFunc>(SGV)) { in copyIndirectSymbolProto() local
708 DGI->copyAttributesFrom(GI); in copyIndirectSymbolProto()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dstore.ll168 ; CHECK-NEXT: store i32 [[STOREMERGE]], i32* [[GI:%.*]], align 4, !tbaa [[TBAA0:![0-9]+]]
175 ; CHECK-NEXT: [[TMP0:%.*]] = load i32, i32* [[GI]], align 4, !tbaa [[TBAA0]]
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1882 void AsmPrinter::emitGlobalIFunc(Module &M, const GlobalIFunc &GI) { in emitGlobalIFunc() argument
1886 MCSymbol *Name = getSymbol(&GI); in emitGlobalIFunc()
1888 if (GI.hasExternalLinkage() || !MAI->getWeakRefDirective()) in emitGlobalIFunc()
1890 else if (GI.hasWeakLinkage() || GI.hasLinkOnceLinkage()) in emitGlobalIFunc()
1893 assert(GI.hasLocalLinkage() && "Invalid ifunc linkage"); in emitGlobalIFunc()
1896 emitVisibility(Name, GI.getVisibility()); in emitGlobalIFunc()
1899 const MCExpr *Expr = lowerConstant(GI.getResolver()); in emitGlobalIFunc()
1901 MCSymbol *LocalAlias = getSymbolPreferLocal(GI); in emitGlobalIFunc()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp990 for (auto &GI : ILI.second) { in gatherImportedSummariesForModule() local
991 const auto &DS = DefinedGVSummaries.find(GI); in gatherImportedSummariesForModule()
994 SummariesForIndex[GI] = DS->second; in gatherImportedSummariesForModule()

12