Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
902 FuncNameVar, FuncName, FunctionHash, CoverageMapping); in emitCounterRegionMapping()
924 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false); in emitEmptyCounterMapping()
960 llvm::Value *Args[] = {llvm::ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in emitCounterIncrement()
998 llvm::ConstantExpr::getBitCast(FuncNameVar, Builder.getInt8PtrTy()), in valueProfile()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp392 GlobalVariable *FuncNameVar = nullptr; member
414 FuncNameVar = FNV; in instrumentSelects()
505 GlobalVariable *FuncNameVar; member in __anoncdb75a9b0211::FuncPGOInstrumentation
571 FuncNameVar = createPGOFuncNameVar(F, FuncName); in FuncPGOInstrumentation()
839 auto Name = ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy); in instrumentOneFunc()
871 FuncInfo.SIVisitor.instrumentSelects(F, &I, NumCounters, FuncInfo.FuncNameVar, in instrumentOneFunc()
914 {ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
1454 {ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in instrumentOneSelectInst()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProf.cpp368 auto FuncNameVar = in createPGOFuncNameVar() local
373 if (!GlobalValue::isLocalLinkage(FuncNameVar->getLinkage())) in createPGOFuncNameVar()
374 FuncNameVar->setVisibility(GlobalValue::HiddenVisibility); in createPGOFuncNameVar()
376 return FuncNameVar; in createPGOFuncNameVar()