Searched refs:SamplingVarTy (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrProfiling.cpp | 735 IntegerType *SamplingVarTy; in doSampling() local 737 SamplingVarTy = Type::getInt16Ty(M.getContext()); in doSampling() 739 SamplingVarTy = Type::getInt32Ty(M.getContext()); in doSampling() 750 auto *LoadSamplingVar = CondBuilder.CreateLoad(SamplingVarTy, SamplingVar); in doSampling() 2138 IntegerType *SamplingVarTy; in createProfileSamplingVar() local 2141 SamplingVarTy = Type::getInt16Ty(M.getContext()); in createProfileSamplingVar() 2142 ValueZero = Constant::getIntegerValue(SamplingVarTy, APInt(16, 0)); in createProfileSamplingVar() 2144 SamplingVarTy = Type::getInt32Ty(M.getContext()); in createProfileSamplingVar() 2145 ValueZero = Constant::getIntegerValue(SamplingVarTy, APInt(32, 0)); in createProfileSamplingVar() 2148 M, SamplingVarTy, false, GlobalValue::WeakAnyLinkage, ValueZero, VarName); in createProfileSamplingVar()
|