Searched refs:SamplingVar (Results 1 – 1 of 1) sorted by relevance
740 auto *SamplingVar = in doSampling() local742 assert(SamplingVar && "SamplingVar not set properly"); in doSampling()750 auto *LoadSamplingVar = CondBuilder.CreateLoad(SamplingVarTy, SamplingVar); in doSampling()756 SamplingVarIncr = IncBuilder.CreateStore(NewSamplingVarVal, SamplingVar); in doSampling()768 SamplingVarIncr = IncBuilder.CreateStore(NewSamplingVarVal, SamplingVar); in doSampling()789 ResetBuilder.CreateStore(GetConstant(ResetBuilder, 0), SamplingVar); in doSampling()2147 auto SamplingVar = new GlobalVariable( in createProfileSamplingVar() local2149 SamplingVar->setVisibility(GlobalValue::DefaultVisibility); in createProfileSamplingVar()2150 SamplingVar->setThreadLocal(true); in createProfileSamplingVar()2153 SamplingVar->setLinkage(GlobalValue::ExternalLinkage); in createProfileSamplingVar()[all …]