Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/CodeGen/
H A DJMCInstrumenter.cpp139 Function *DefaultCheckFunc = in createDefaultCheckFunction() local
142 DefaultCheckFunc->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in createDefaultCheckFunction()
143 DefaultCheckFunc->addParamAttr(0, Attribute::NoUndef); in createDefaultCheckFunction()
145 DefaultCheckFunc->addParamAttr(0, Attribute::InReg); in createDefaultCheckFunction()
147 BasicBlock *EntryBB = BasicBlock::Create(Ctx, "", DefaultCheckFunc); in createDefaultCheckFunction()
149 return DefaultCheckFunc; in createDefaultCheckFunction()
191 Function *DefaultCheckFunc = in runImpl() local
194 DefaultCheckFunc->setName(CheckFunctionName); in runImpl()
195 DefaultCheckFunc->setLinkage(GlobalValue::WeakAnyLinkage); in runImpl()
196 CheckFunction = DefaultCheckFunc; in runImpl()
[all …]