| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAlloca.cpp | 99 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 D | non-precise-inv-load-1.ll | 6 ; 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 D | dllimport-constexpr.cpp | 23 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 D | warn-free-nonheap-object.cpp | 11 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 D | warn-free-nonheap-object.c | 12 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 D | semantic_parsing.hlsl | 4 void Entry(int GI : ) { } 7 void Pony(int GI : SV_IWantAPony) { }
|
| /llvm-project-15.0.7/clang/test/SemaHLSL/Semantics/ |
| H A D | entry_parameter.hlsl | 6 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 D | GlobalMerge.cpp | 297 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 D | AMDGPUReplaceLDSUseWithPointer.cpp | 406 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 D | BPFAdjustOpt.cpp | 355 } 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 D | BPFAbstractMemberAccess.cpp | 574 } 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 D | X86LoadValueInjectionLoadHardening.cpp | 501 [&](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 D | TypeFinder.cpp | 52 for (const auto &GI : M.ifuncs()) in run() local 53 incorporateType(GI.getValueType()); in run()
|
| H A D | AsmWriter.cpp | 2577 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 D | GuardWidening.cpp | 82 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 D | SimpleLoopUnswitch.cpp | 2577 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 D | SplitModule.cpp | 94 if (const auto *GI = dyn_cast_or_null<GlobalIFunc>(GO)) in getGVPartitioningRoot() local 95 GO = GI->getResolverFunction(); in getGVPartitioningRoot()
|
| H A D | ValueMapper.cpp | 892 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 D | ClangDiagnosticsEmitter.cpp | 176 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 D | ValueMapper.h | 187 void scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver,
|
| /llvm-project-15.0.7/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 526 for (GlobalIFunc &GI : SrcM->ifuncs()) in run() 527 if (linkIfNeeded(GI, GVToClone)) in run()
|
| H A D | IRMover.cpp | 616 } 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 D | store.ll | 168 ; 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 D | AsmPrinter.cpp | 1882 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 D | FunctionImport.cpp | 990 for (auto &GI : ILI.second) { in gatherImportedSummariesForModule() local 991 const auto &DS = DefinedGVSummaries.find(GI); in gatherImportedSummariesForModule() 994 SummariesForIndex[GI] = DS->second; in gatherImportedSummariesForModule()
|