Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp132 Function *DefaultCheckFunc = in createDefaultCheckFunction() local
135 DefaultCheckFunc->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createDefaultCheckFunction()
136 DefaultCheckFunc->addParamAttr(0, Attribute::NoUndef); in createDefaultCheckFunction()
138 DefaultCheckFunc->addParamAttr(0, Attribute::InReg); in createDefaultCheckFunction()
142 return DefaultCheckFunc; in createDefaultCheckFunction()
184 Function *DefaultCheckFunc = in runOnModule() local
187 DefaultCheckFunc->setName(CheckFunctionName); in runOnModule()
188 DefaultCheckFunc->setLinkage(GlobalValue::WeakAnyLinkage); in runOnModule()
189 CheckFunction = DefaultCheckFunc; in runOnModule()
205 appendToUsed(M, {DefaultCheckFunc}); in runOnModule()
[all …]