Searched refs:GI (Results 1 - 16 of 16) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp102 auto GI = dyn_cast<GetElementPtrInst>(AllocaUse.getUser()); local
103 if (GI && GI->getPointerOperand() == allocaInst) {
104 GI->setOperand(GI->getPointerOperandIndex(), NewASCToGeneric);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMetaRenamer.cpp105 for (auto GI = M.global_begin(), GE = M.global_end(); GI != GE; ++GI) {
106 StringRef Name = GI->getName();
110 GI->setName("global");
/freebsd-12-stable/sys/contrib/ck/include/
H A Dck_cohort.h56 #define CK_COHORT_PROTOTYPE(N, GL, GU, GI, LL, LU, LI) \
121 return GI(cohort->local_lock, local_context) || \
125 #define CK_COHORT_TRYLOCK_PROTOTYPE(N, GL, GU, GI, GTL, LL, LU, LI, LTL) \
126 CK_COHORT_PROTOTYPE(N, GL, GU, GI, LL, LU, LI) \
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMerge.cpp295 for (size_t GI = 0, GE = Globals.size(); GI != GE; ++GI) {
296 GlobalVariable *GV = Globals[GI];
345 CreateGlobalSet().Globals.set(GI);
355 if (UsedGlobalSets[UGSIdx].Globals.test(GI)) {
377 NewUGS.Globals.set(GI);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp427 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) {
428 if (GI->hasAllZeroIndices())
429 traceGEP(GI, Call, ParentInfo);
458 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) {
459 if (GI->hasAllZeroIndices())
460 traceGEP(GI, Parent, ParentInfo);
488 } else if (auto *GI = dyn_cast<GetElementPtrInst>(Inst)) {
489 if (GI->hasAllZeroIndices())
490 traceGEP(GI, Parent, ParentInfo);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp500 [&](MachineBasicBlock *MBB, GraphIter GI, unsigned ParentDepth) {
506 Builder.addEdge(ParentDepth, GI, BeginBB.first);
511 GI = BeginBB.first;
515 Builder.addEdge(LoopDepth, GI, Ref->getSecond());
516 GI = Ref->getSecond();
525 Builder.addEdge(LoopDepth, GI, EndBB.first);
526 GI = EndBB.first;
530 TraverseCFG(Succ, GI, LoopDepth);
/freebsd-12-stable/contrib/libc-vis/
H A Dunvis.c213 #define GI(a) ((uint32_t)(a) >> 24) macro
451 is = GI(*astate); /* index in the string */
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp82 if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) {
83 assert(GI->getIntrinsicID() == Intrinsic::experimental_guard &&
85 return GI->getArgOperand(0);
98 if (IntrinsicInst *GI = dyn_cast<IntrinsicInst>(I)) {
99 assert(GI->getIntrinsicID() == Intrinsic::experimental_guard &&
101 GI->setArgOperand(0, NewCond);
H A DSimpleLoopUnswitch.cpp2392 turnGuardIntoBranch(IntrinsicInst *GI, Loop &L, argument
2396 LLVM_DEBUG(dbgs() << "Turning " << *GI << " into a branch.\n");
2397 BasicBlock *CheckBB = GI->getParent();
2410 SplitBlockAndInsertIfThen(GI->getArgOperand(0), GI, true);
2425 MSSAU->moveAllAfterSpliceBlocks(CheckBB, GuardedBlock, GI);
2427 GI->moveBefore(DeoptBlockTerm);
2428 GI->setArgOperand(0, ConstantInt::getFalse(GI->getContext()));
2445 MemoryDef *MD = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(GI));
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp182 GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; local
184 if (GI.DiagsInGroup.size() > 1)
185 ImplicitGroups.insert(&GI);
187 if (GI.ExplicitDef)
188 assert(GI.ExplicitDef == Group);
190 GI.ExplicitDef = Group;
195 GI.SubGroups.push_back(SubGroups[j]->getValueAsString("GroupName"));
347 const GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; local
348 V.second = GI.SubGroups.size() + GI
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp923 for (auto &GI : ILI.second) {
924 const auto &DS = DefinedGVSummaries.find(GI);
927 SummariesForIndex[GI] = DS->second;
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp2466 GuardInfo *GI = nullptr; local
2468 GI = &ThreadLocalGuardVariableMap[D.getDeclContext()];
2470 GI = &GuardVariableMap[D.getDeclContext()];
2472 llvm::GlobalVariable *GuardVar = GI ? GI->Guard : nullptr;
2484 GuardNum = GI->BitIndex++;
2519 if (GI && !HasPerVariableGuard)
2520 GI->Guard = GuardVar;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp114 } else if (GetElementPtrInst *GI = dyn_cast<GetElementPtrInst>(U)) {
115 Ptr = GI->getPointerOperand();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp2140 for (const auto &GI : Globals) {
2141 const char *Name = GI.getKeyData();
2142 const DIE *Entity = GI.second;
2156 Asm->OutStreamer->EmitBytes(StringRef(Name, GI.getKeyLength() + 1));
H A DCodeViewDebug.cpp2758 auto GI = ScopeGlobals.find(Scope.getScopeNode()); local
2760 GI != ScopeGlobals.end() ? GI->second.get() : nullptr;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp2647 for (const GlobalIFunc &GI : M->ifuncs())
2648 printIndirectSymbol(&GI);

Completed in 132 milliseconds