Lines Matching refs:GlobalVariable

191     GlobalVariable *RegionCounters = nullptr;
192 GlobalVariable *DataVar = nullptr;
193 GlobalVariable *RegionBitmaps = nullptr;
198 DenseMap<GlobalVariable *, PerFunctionProfileData> ProfileDataMap;
204 std::vector<GlobalVariable *> ReferencedNames;
205 GlobalVariable *NamesVar = nullptr;
243 void lowerCoverageData(GlobalVariable *CoverageNamesVar);
261 GlobalVariable *getOrCreateRegionCounters(InstrProfCntrInstBase *Inc);
264 GlobalVariable *createRegionCounters(InstrProfCntrInstBase *Inc,
276 GlobalVariable *getOrCreateRegionBitmaps(InstrProfMCDCBitmapInstBase *Inc);
283 GlobalVariable *createRegionBitmaps(InstrProfMCDCBitmapInstBase *Inc,
288 void maybeSetComdat(GlobalVariable *GV, Function *Fn, StringRef VarName);
291 GlobalVariable *setupProfileSection(InstrProfInstBase *Inc,
710 GlobalVariable *CoverageNamesVar = in lower()
796 GlobalVariable *Name = Ind->getName(); in computeNumValueSiteCounts()
811 GlobalVariable *Name = Ind->getName(); in lowerValueProfileInst()
816 GlobalVariable *DataVar = It->second.DataVar; in lowerValueProfileInst()
873 Bias = new GlobalVariable( in getCounterAddress()
876 Bias->setVisibility(GlobalVariable::HiddenVisibility); in getCounterAddress()
951 void InstrLowerer::lowerCoverageData(GlobalVariable *CoverageNamesVar) { in lowerCoverageData()
957 assert(isa<GlobalVariable>(V) && "Missing reference to function name"); in lowerCoverageData()
958 GlobalVariable *Name = cast<GlobalVariable>(V); in lowerCoverageData()
1201 void InstrLowerer::maybeSetComdat(GlobalVariable *GV, Function *Fn, in maybeSetComdat()
1223 GlobalVariable *InstrLowerer::setupProfileSection(InstrProfInstBase *Inc, in setupProfileSection()
1225 GlobalVariable *NamePtr = Inc->getName(); in setupProfileSection()
1266 GlobalVariable *Ptr; in setupProfileSection()
1293 GlobalVariable *
1299 auto GV = new GlobalVariable(M, BitmapTy, false, Linkage, in createRegionBitmaps()
1305 GlobalVariable *
1307 GlobalVariable *NamePtr = Inc->getName(); in getOrCreateRegionBitmaps()
1320 GlobalVariable *
1325 GlobalVariable *GV; in createRegionCounters()
1332 GV = new GlobalVariable(M, CounterArrTy, false, Linkage, in createRegionCounters()
1338 GV = new GlobalVariable(M, CounterTy, false, Linkage, in createRegionCounters()
1345 GlobalVariable *
1347 GlobalVariable *NamePtr = Inc->getName(); in getOrCreateRegionCounters()
1406 GlobalVariable *NamePtr = Inc->getName(); in createDataVariable()
1449 auto *ValuesVar = new GlobalVariable( in createDataVariable()
1500 new GlobalVariable(M, DataTy, false, Linkage, nullptr, DataVarName); in createDataVariable()
1502 GlobalVariable *BitmapPtr = PD.RegionBitmaps; in createDataVariable()
1588 auto *VNodesVar = new GlobalVariable( in emitVNodes()
1615 NamesVar = new GlobalVariable(M, NamesVal->getType(), true, in emitNameData()
1653 Function::Create(RuntimeRegisterTy, GlobalVariable::ExternalLinkage, in emitRegistration()
1669 Function::Create(NamesRegisterTy, GlobalVariable::ExternalLinkage, in emitRegistration()
1690 new GlobalVariable(M, Int32Ty, false, GlobalValue::ExternalLinkage, in emitRuntimeHook()