Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
140 BasicBlock *EntryBB = BasicBlock::Create(Ctx, "", DefaultCheckFunc); 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()
[all …]