/freebsd/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/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/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 | 362 for (GlobalIFunc &GI : M.ifuncs()) in lowerGlobalIFuncUsersAsGlobalCtor() 363 AllIFuncs.push_back(&GI); in lowerGlobalIFuncUsersAsGlobalCtor() 396 for (GlobalIFunc *GI : IFuncsToLower) { in lowerGlobalIFuncUsersAsGlobalCtor() 397 Function *ResolvedFunction = GI->getResolverFunction(); in lowerGlobalIFuncUsersAsGlobalCtor() 418 for (User *User : make_early_inc_range(GI->users())) { in lowerGlobalIFuncUsersAsGlobalCtor() 431 UseBuilder.CreatePointerCast(ResolvedTarget, GI->getType()); in lowerGlobalIFuncUsersAsGlobalCtor() 432 UserInst->replaceUsesOfWith(GI, ResolvedCast); in lowerGlobalIFuncUsersAsGlobalCtor() 436 if (GI->use_empty()) in lowerGlobalIFuncUsersAsGlobalCtor() 437 GI->eraseFromParent(); in lowerGlobalIFuncUsersAsGlobalCtor()
|
H A D | SplitModule.cpp | 106 if (const auto *GI = dyn_cast_or_null<GlobalIFunc>(GO)) in getGVPartitioningRoot() local 107 GO = GI->getResolverFunction(); in getGVPartitioningRoot()
|
H A D | ValueMapper.cpp | 948 else if (auto *GI = dyn_cast<GlobalIFunc>(GV)) in flush() local 949 GI->setResolver(Target); in flush() 1278 void ValueMapper::scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver, in scheduleMapGlobalIFunc() argument 1280 getAsMapper(pImpl)->scheduleMapAliasOrIFunc(GI, Resolver, MCID); in scheduleMapGlobalIFunc()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | GlobalMerge.cpp | 329 for (size_t GI = 0, GE = Globals.size(); GI != GE; ++GI) { in doMerge() local 330 GlobalVariable *GV = Globals[GI]; in doMerge() 378 CreateGlobalSet().Globals.set(GI); in doMerge() 388 if (UsedGlobalSets[UGSIdx].Globals.test(GI)) { in doMerge() 410 NewUGS.Globals.set(GI); in doMerge()
|
/freebsd/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 | 563 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceAICall() local 564 if (GI->hasAllZeroIndices()) in traceAICall() 565 traceGEP(GI, Call, ParentInfo); in traceAICall() 594 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceBitCast() local 595 if (GI->hasAllZeroIndices()) in traceBitCast() 596 traceGEP(GI, Parent, ParentInfo); in traceBitCast() 624 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) { in traceGEP() local 625 if (GI->hasAllZeroIndices()) in traceGEP() 626 traceGEP(GI, Parent, ParentInfo); in traceGEP()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Disasm.cpp | 144 unsigned GI = 0; in dump() local 147 Pointer GP = getPtrGlobal(GI); in dump() 149 OS << GI << ": " << (const void *)G->block() << " "; in dump() 194 ++GI; in dump()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86LoadValueInjectionLoadHardening.cpp | 498 [&](MachineBasicBlock *MBB, GraphIter GI, unsigned ParentDepth) { in getGadgetGraph() argument 504 Builder.addEdge(ParentDepth, GI, BeginBB.first); in getGadgetGraph() 509 GI = BeginBB.first; in getGadgetGraph() 513 Builder.addEdge(LoopDepth, GI, Ref->getSecond()); in getGadgetGraph() 514 GI = Ref->getSecond(); in getGadgetGraph() 523 Builder.addEdge(LoopDepth, GI, EndBB.first); in getGadgetGraph() 524 GI = EndBB.first; in getGadgetGraph() 528 TraverseCFG(Succ, GI, LoopDepth); in getGadgetGraph()
|
H A D | X86AsmPrinter.cpp | 539 void X86AsmPrinter::emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, in emitMachOIFuncStubBody() argument 556 const GlobalIFunc &GI, in emitMachOIFuncStubHelperBody() argument 584 .addOperand(MCOperand::createExpr(lowerConstant(GI.getResolver()))), in emitMachOIFuncStubHelperBody()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVUtils.cpp | 261 if (auto *GI = dyn_cast<GIntrinsic>(ConstInstr)) { in getDefInstrMaybeConstant() local 262 if (GI->is(Intrinsic::spv_track_constant)) { in getDefInstrMaybeConstant() 280 if (const auto *GI = dyn_cast<GIntrinsic>(&MI)) in isSpvIntrinsic() local 281 return GI->is(IntrinsicID); in isSpvIntrinsic()
|
/freebsd/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 | 2747 void printIFunc(const GlobalIFunc *GI); 2998 for (const GlobalIFunc &GI : M->ifuncs()) in printModule() local 2999 printIFunc(&GI); in printModule() 3884 void AssemblyWriter::printIFunc(const GlobalIFunc *GI) { in printIFunc() argument 3885 if (GI->isMaterializable()) in printIFunc() 3888 AsmWriterContext WriterCtx(&TypePrinter, &Machine, GI->getParent()); in printIFunc() 3889 WriteAsOperandInternal(Out, GI, WriterCtx); in printIFunc() 3892 Out << getLinkageNameWithSpace(GI->getLinkage()); in printIFunc() 3893 PrintDSOLocation(*GI, Out); in printIFunc() 3894 PrintVisibility(GI->getVisibility(), Out); in printIFunc() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | GuardWidening.cpp | 83 if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) { in getCondition() local 84 assert(GI->getIntrinsicID() == Intrinsic::experimental_guard && in getCondition() 86 return GI->getArgOperand(0); in getCondition() 99 if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) { in setCondition() local 100 assert(GI->getIntrinsicID() == Intrinsic::experimental_guard && in setCondition() 102 GI->setArgOperand(0, NewCond); in setCondition()
|
H A D | SimpleLoopUnswitch.cpp | 2763 static BranchInst *turnGuardIntoBranch(IntrinsicInst *GI, Loop &L, in turnGuardIntoBranch() 2767 LLVM_DEBUG(dbgs() << "Turning " << *GI << " into a branch.\n"); in turnGuardIntoBranch() 2768 BasicBlock *CheckBB = GI->getParent(); in turnGuardIntoBranch() 2775 SplitBlockAndInsertIfThen(GI->getArgOperand(0), GI, true, in turnGuardIntoBranch() 2776 GI->getMetadata(LLVMContext::MD_prof), &DTU, &LI); in turnGuardIntoBranch() 2788 MSSAU->moveAllAfterSpliceBlocks(CheckBB, GuardedBlock, GI); in turnGuardIntoBranch() 2790 GI->moveBefore(DeoptBlockTerm); in turnGuardIntoBranch() 2791 GI->setArgOperand(0, ConstantInt::getFalse(GI in turnGuardIntoBranch() 2762 turnGuardIntoBranch(IntrinsicInst * GI,Loop & L,DominatorTree & DT,LoopInfo & LI,MemorySSAUpdater * MSSAU) turnGuardIntoBranch() argument [all...] |
/freebsd/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/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
H A D | PPCRegisterBankInfo.cpp | 257 if (auto *GI = dyn_cast<GIntrinsic>(&MI)) { in hasFPConstraints() local 258 if (isFPIntrinsic(GI->getIntrinsicID())) in hasFPConstraints()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | AsmPrinter.h | 601 virtual void emitMachOIFuncStubBody(Module &M, const GlobalIFunc &GI, in emitMachOIFuncStubBody() argument 607 virtual void emitMachOIFuncStubHelperBody(Module &M, const GlobalIFunc &GI, in emitMachOIFuncStubHelperBody() argument 898 void emitGlobalIFunc(Module &M, const GlobalIFunc &GI);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 2176 void AsmPrinter::emitGlobalIFunc(Module &M, const GlobalIFunc &GI) { in emitGlobalIFunc() argument 2181 if (GI.hasExternalLinkage() || !MAI->getWeakRefDirective()) in emitGlobalIFunc() 2183 else if (GI.hasWeakLinkage() || GI.hasLinkOnceLinkage()) in emitGlobalIFunc() 2186 assert(GI.hasLocalLinkage() && "Invalid ifunc linkage"); in emitGlobalIFunc() 2190 MCSymbol *Name = getSymbol(&GI); in emitGlobalIFunc() 2193 emitVisibility(Name, GI.getVisibility()); in emitGlobalIFunc() 2196 const MCExpr *Expr = lowerConstant(GI.getResolver()); in emitGlobalIFunc() 2198 MCSymbol *LocalAlias = getSymbolPreferLocal(GI); in emitGlobalIFunc() 2225 GetExternalSymbolSymbol(GI.getName() + ".lazy_pointer"); in emitGlobalIFunc() 2226 MCSymbol *StubHelper = GetExternalSymbolSymbol(GI.getName() + ".stub_helper"); in emitGlobalIFunc() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ModuleSummaryAnalysis.cpp | 132 if (auto *GI = dyn_cast_if_present<GlobalIFunc>(GV); in findRefEdges() local 133 GI && GI->hasLocalLinkage()) { in findRefEdges() 461 if (auto *GI = dyn_cast_if_present<GlobalIFunc>(CalledValue)) in computeFunctionSummary() local 462 if (GI->hasLocalLinkage()) in computeFunctionSummary()
|
/freebsd/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/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPostLegalizerCombiner.cpp | 257 if (auto *GI = dyn_cast<GIntrinsic>(&MI)) { in matchRcpSqrtToRsq() local 258 if (GI->is(Intrinsic::amdgcn_rcp)) in matchRcpSqrtToRsq()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ValueMapper.h | 196 void scheduleMapGlobalIFunc(GlobalIFunc &GI, Constant &Resolver,
|