Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp746 IntegerType *SamplingVarTy; in doSampling() local
748 SamplingVarTy = Type::getInt16Ty(M.getContext()); in doSampling()
750 SamplingVarTy = Type::getInt32Ty(M.getContext()); in doSampling()
761 auto *LoadSamplingVar = CondBuilder.CreateLoad(SamplingVarTy, SamplingVar); in doSampling()
2147 IntegerType *SamplingVarTy; in createProfileSamplingVar() local
2150 SamplingVarTy = Type::getInt16Ty(M.getContext()); in createProfileSamplingVar()
2151 ValueZero = Constant::getIntegerValue(SamplingVarTy, APInt(16, 0)); in createProfileSamplingVar()
2153 SamplingVarTy = Type::getInt32Ty(M.getContext()); in createProfileSamplingVar()
2154 ValueZero = Constant::getIntegerValue(SamplingVarTy, APInt(32, 0)); in createProfileSamplingVar()
2157 M, SamplingVarTy, false, GlobalValue::WeakAnyLinkage, ValueZero, VarName); in createProfileSamplingVar()