| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/sys/contrib/ck/include/ |
| H A D | ck_cohort.h | 56 #define CK_COHORT_PROTOTYPE(N, GL, GU, GI, LL, LU, LI) \ argument 121 return GI(cohort->local_lock, local_context) || \ 125 #define CK_COHORT_TRYLOCK_PROTOTYPE(N, GL, GU, GI, GTL, LL, LU, LI, LTL) \ argument 126 CK_COHORT_PROTOTYPE(N, GL, GU, GI, LL, LU, LI) \
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CloneModule.cpp | 120 auto *GI = in CloneModule() local 123 GI->copyAttributesFrom(&I); in CloneModule() 124 VMap[&I] = GI; in CloneModule() 203 GlobalIFunc *GI = cast<GlobalIFunc>(VMap[&I]); in CloneModule() local 205 GI->setResolver(MapValue(Resolver, VMap)); in CloneModule()
|
| H A D | ModuleUtils.cpp | 359 for (GlobalIFunc &GI : M.ifuncs()) in lowerGlobalIFuncUsersAsGlobalCtor() 360 AllIFuncs.push_back(&GI); in lowerGlobalIFuncUsersAsGlobalCtor() 393 for (GlobalIFunc *GI : IFuncsToLower) { in lowerGlobalIFuncUsersAsGlobalCtor() 394 Function *ResolvedFunction = GI->getResolverFunction(); in lowerGlobalIFuncUsersAsGlobalCtor() 415 for (User *User : make_early_inc_range(GI->users())) { in lowerGlobalIFuncUsersAsGlobalCtor() 428 UseBuilder.CreatePointerCast(ResolvedTarget, GI->getType()); in lowerGlobalIFuncUsersAsGlobalCtor() 429 UserInst->replaceUsesOfWith(GI, ResolvedCast); in lowerGlobalIFuncUsersAsGlobalCtor() 433 if (GI->use_empty()) in lowerGlobalIFuncUsersAsGlobalCtor() 434 GI->eraseFromParent(); in lowerGlobalIFuncUsersAsGlobalCtor()
|
| 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 | 938 else if (auto *GI = dyn_cast<GlobalIFunc>(GV)) in flush() local 939 GI->setResolver(Target); in flush() 1264 void ValueMapper::scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver, in scheduleMapGlobalIFunc() argument 1266 getAsMapper(pImpl)->scheduleMapAliasOrIFunc(GI, Resolver, MCID); in scheduleMapGlobalIFunc()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMerge.cpp | 309 for (size_t GI = 0, GE = Globals.size(); GI != GE; ++GI) { in doMerge() local 310 GlobalVariable *GV = Globals[GI]; in doMerge() 359 CreateGlobalSet().Globals.set(GI); in doMerge() 369 if (UsedGlobalSets[UGSIdx].Globals.test(GI)) { in doMerge() 391 NewUGS.Globals.set(GI); in doMerge()
|
| H A D | MachineSSAContext.cpp | 64 if (auto *GI = dyn_cast<GIntrinsic>(&MI)) in getIntrinsicID() local 65 return GI->getIntrinsicID(); in getIntrinsicID()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAdjustOpt.cpp | 338 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in avoidSpeculation() local 341 for (i = 1, e = GI->getNumOperands(); i != e; ++i) { in avoidSpeculation() 342 Value *V = GI->getOperand(i); in avoidSpeculation() 349 PassThroughInfo Info(&I, GI, i); in avoidSpeculation()
|
| H A D | BPFAbstractMemberAccess.cpp | 562 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceAICall() local 563 if (GI->hasAllZeroIndices()) in traceAICall() 564 traceGEP(GI, Call, ParentInfo); in traceAICall() 593 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceBitCast() local 594 if (GI->hasAllZeroIndices()) in traceBitCast() 595 traceGEP(GI, Parent, ParentInfo); in traceBitCast() 623 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceGEP() local 624 if (GI->hasAllZeroIndices()) in traceGEP() 625 traceGEP(GI, Parent, ParentInfo); in traceGEP()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVUtils.cpp | 213 if (auto *GI = dyn_cast<GIntrinsic>(ConstInstr)) { in getDefInstrMaybeConstant() local 214 if (GI->is(Intrinsic::spv_track_constant)) { in getDefInstrMaybeConstant() 232 if (const auto *GI = dyn_cast<GIntrinsic>(&MI)) in isSpvIntrinsic() local 233 return GI->is(IntrinsicID); in isSpvIntrinsic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LoadValueInjectionLoadHardening.cpp | 499 [&](MachineBasicBlock *MBB, GraphIter GI, unsigned ParentDepth) { in getGadgetGraph() argument 505 Builder.addEdge(ParentDepth, GI, BeginBB.first); in getGadgetGraph() 510 GI = BeginBB.first; in getGadgetGraph() 514 Builder.addEdge(LoopDepth, GI, Ref->getSecond()); in getGadgetGraph() 515 GI = Ref->getSecond(); in getGadgetGraph() 524 Builder.addEdge(LoopDepth, GI, EndBB.first); in getGadgetGraph() 525 GI = EndBB.first; in getGadgetGraph() 529 TraverseCFG(Succ, GI, LoopDepth); in getGadgetGraph()
|
| H A D | X86AsmPrinter.h | 124 void emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, 126 void emitMachOIFuncStubHelperBody(Module &M, const GlobalIFunc &GI,
|
| H A D | X86AsmPrinter.cpp | 540 void X86AsmPrinter::emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, in emitMachOIFuncStubBody() argument 557 const GlobalIFunc &GI, in emitMachOIFuncStubHelperBody() argument 585 .addOperand(MCOperand::createExpr(lowerConstant(GI.getResolver()))), in emitMachOIFuncStubHelperBody()
|
| /freebsd-14.2/contrib/llvm-project/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 | 2660 void printIFunc(const GlobalIFunc *GI); 2908 for (const GlobalIFunc &GI : M->ifuncs()) in printModule() local 2909 printIFunc(&GI); in printModule() 3783 if (GI->isMaterializable()) in printIFunc() 3787 WriteAsOperandInternal(Out, GI, WriterCtx); in printIFunc() 3791 PrintDSOLocation(*GI, Out); in printIFunc() 3792 PrintVisibility(GI->getVisibility(), Out); in printIFunc() 3796 TypePrinter.print(GI->getValueType(), Out); in printIFunc() 3802 TypePrinter.print(GI->getType(), Out); in printIFunc() 3806 if (GI->hasPartition()) { in printIFunc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/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 | 2741 static BranchInst *turnGuardIntoBranch(IntrinsicInst *GI, Loop &L, in turnGuardIntoBranch() argument 2745 LLVM_DEBUG(dbgs() << "Turning " << *GI << " into a branch.\n"); in turnGuardIntoBranch() 2746 BasicBlock *CheckBB = GI->getParent(); in turnGuardIntoBranch() 2753 SplitBlockAndInsertIfThen(GI->getArgOperand(0), GI, true, in turnGuardIntoBranch() 2754 GI->getMetadata(LLVMContext::MD_prof), &DTU, &LI); in turnGuardIntoBranch() 2766 MSSAU->moveAllAfterSpliceBlocks(CheckBB, GuardedBlock, GI); in turnGuardIntoBranch() 2768 GI->moveBefore(DeoptBlockTerm); in turnGuardIntoBranch() 2769 GI->setArgOperand(0, ConstantInt::getFalse(GI->getContext())); in turnGuardIntoBranch() 2772 MemoryDef *MD = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(GI)); in turnGuardIntoBranch()
|
| /freebsd-14.2/contrib/libc-vis/ |
| H A D | unvis.c | 212 #define GI(a) ((uint32_t)(a) >> 24) in unvis() macro 450 is = GI(*astate); /* index in the string */ in unvis()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | AsmPrinter.h | 606 virtual void emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, in emitMachOIFuncStubBody() argument 612 virtual void emitMachOIFuncStubHelperBody(Module &M, const GlobalIFunc &GI, in emitMachOIFuncStubHelperBody() argument 901 void emitGlobalIFunc(Module &M, const GlobalIFunc &GI);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
| H A D | PPCRegisterBankInfo.cpp | 294 if (auto *GI = dyn_cast<GIntrinsic>(&MI)) { in hasFPConstraints() local 295 if (isFPIntrinsic(GI->getIntrinsicID())) in hasFPConstraints()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 2178 else if (GI.hasWeakLinkage() || GI.hasLinkOnceLinkage()) in emitGlobalIFunc() 2185 MCSymbol *Name = getSymbol(&GI); in emitGlobalIFunc() 2188 emitVisibility(Name, GI.getVisibility()); in emitGlobalIFunc() 2193 MCSymbol *LocalAlias = getSymbolPreferLocal(GI); in emitGlobalIFunc() 2228 emitVisibility(LazyPointer, GI.getVisibility()); in emitGlobalIFunc() 2234 TM.getSubtargetImpl(*GI.getResolverFunction()); in emitGlobalIFunc() 2238 MCSymbol *Stub = getSymbol(&GI); in emitGlobalIFunc() 2242 emitVisibility(Stub, GI.getVisibility()); in emitGlobalIFunc() 2243 emitMachOIFuncStubBody(M, GI, LazyPointer); in emitGlobalIFunc() 2247 emitVisibility(StubHelper, GI.getVisibility()); in emitGlobalIFunc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/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() 330 const GroupInfo &GI = in groupInPedantic() local 332 V.second = GI.SubGroups.size() + GI.DiagsInGroup.size(); in groupInPedantic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | ValueMapper.h | 195 void scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPostLegalizerCombiner.cpp | 297 if (auto *GI = dyn_cast<GIntrinsic>(&MI)) { in matchRcpSqrtToRsq() local 298 if (GI->is(Intrinsic::amdgcn_rcp)) in matchRcpSqrtToRsq()
|