Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenPGO.h31 llvm::GlobalVariable *FuncNameVar; variable
44 : CGM(CGModule), FuncNameVar(nullptr), NumValueSites({{0}}), in CodeGenPGO()
H A DCodeGenPGO.cpp42 FuncNameVar = llvm::createPGOFuncNameVar(CGM.getModule(), Linkage, FuncName); in setFuncName()
894 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping()
916 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping()
952 llvm::Value *Args[] = {llvm::ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in emitCounterIncrement()
990 llvm::ConstantExpr::getBitCast(FuncNameVar, Builder.getInt8PtrTy()), in valueProfile()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp352 GlobalVariable *FuncNameVar = nullptr; member
374 FuncNameVar = FNV; in instrumentSelects()
580 GlobalVariable *FuncNameVar; member in __anon333165960211::FuncPGOInstrumentation
646 FuncNameVar = createPGOFuncNameVar(F, FuncName); in FuncPGOInstrumentation()
918 {ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
924 FuncInfo.SIVisitor.instrumentSelects(F, &I, NumCounters, FuncInfo.FuncNameVar, in instrumentOneFunc()
967 {ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
1500 {ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in instrumentOneSelectInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProf.cpp330 auto FuncNameVar = in createPGOFuncNameVar() local
335 if (!GlobalValue::isLocalLinkage(FuncNameVar->getLinkage())) in createPGOFuncNameVar()
336 FuncNameVar->setVisibility(GlobalValue::HiddenVisibility); in createPGOFuncNameVar()
338 return FuncNameVar; in createPGOFuncNameVar()