Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1341 auto IRLevelVersionVariable = new llvm::GlobalVariable( in setProfileVersion() local
1347 IRLevelVersionVariable->setVisibility(llvm::GlobalValue::HiddenVisibility); in setProfileVersion()
1350 IRLevelVersionVariable->setLinkage(llvm::GlobalValue::ExternalLinkage); in setProfileVersion()
1351 IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName)); in setProfileVersion()
1353 IRLevelVersionVariable->setDSOLocal(true); in setProfileVersion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp412 auto IRLevelVersionVariable = new GlobalVariable( in createIRLevelProfileFlagVar() local
415 IRLevelVersionVariable->setVisibility(GlobalValue::HiddenVisibility); in createIRLevelProfileFlagVar()
418 IRLevelVersionVariable->setLinkage(GlobalValue::ExternalLinkage); in createIRLevelProfileFlagVar()
419 IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName)); in createIRLevelProfileFlagVar()
421 return IRLevelVersionVariable; in createIRLevelProfileFlagVar()