Home
last modified time | relevance | path

Searched refs:NewG (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp737 Function *NewG = nullptr; in writeThunk() local
751 NewG = Function::Create(G->getFunctionType(), G->getLinkage(), in writeThunk()
753 NewG->setComdat(G->getComdat()); in writeThunk()
754 BB = BasicBlock::Create(F->getContext(), "", NewG); in writeThunk()
758 Function *H = MergeFunctionsPDI ? G : NewG; in writeThunk()
801 NewG->copyAttributesFrom(G); in writeThunk()
802 NewG->takeName(G); in writeThunk()
804 copyMetadataIfPresent(G, NewG, "type"); in writeThunk()
805 copyMetadataIfPresent(G, NewG, "kcfi_type"); in writeThunk()
807 G->replaceAllUsesWith(NewG); in writeThunk()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DThreading.inc235 ProcessorGroup NewG{Groups[CurrentGroupID]};
236 NewG.Affinity = ProcessAffinityMask;
237 NewG.UsableThreads = llvm::popcount(ProcessAffinityMask);
239 Groups.push_back(NewG);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp4117 const SCEV *NewG = SE.getAddExpr(NewOffset, G); in GenerateConstantOffsetsImpl() local
4119 if (NewG->isZero()) { in GenerateConstantOffsetsImpl()
4127 F.ScaledReg = NewG; in GenerateConstantOffsetsImpl()
4129 F.BaseRegs[Idx] = NewG; in GenerateConstantOffsetsImpl()