Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroElide.cpp268 Function *DevirtFn = M.getFunction(CORO_DEVIRT_TRIGGER_FN); in replaceDevirtTrigger() local
269 assert(DevirtFn && "coro.devirt.fn not found"); in replaceDevirtTrigger()
270 replaceWithConstant(DevirtFn, DevirtAddr); in replaceDevirtTrigger()
DCoroSplit.cpp764 Function *DevirtFn = M.getFunction(CORO_DEVIRT_TRIGGER_FN); in prepareForSplit() local
765 assert(DevirtFn && "coro.devirt.trigger function not found"); in prepareForSplit()
797 Function *DevirtFn = in createDevirtTriggerFunc() local
800 DevirtFn->addFnAttr(Attribute::AlwaysInline); in createDevirtTriggerFunc()
801 auto *Entry = BasicBlock::Create(C, "entry", DevirtFn); in createDevirtTriggerFunc()
804 auto *Node = CG.getOrInsertFunction(DevirtFn); in createDevirtTriggerFunc()