Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp306 IRBuilder<> AtEntry(IP->getParent(), IP); in runOnFunction() local
309 AtEntry.CreateAlloca(ConcreteStackEntryTy, nullptr, "gc_frame"); in runOnFunction()
313 AtEntry.SetInsertPoint(IP->getParent(), IP); in runOnFunction()
316 Instruction *CurrentHead = AtEntry.CreateLoad(Head, "gc_currhead"); in runOnFunction()
317 Instruction *EntryMapPtr = CreateGEP(Context, AtEntry, ConcreteStackEntryTy, in runOnFunction()
319 AtEntry.CreateStore(FrameMap, EntryMapPtr); in runOnFunction()
324 Value *SlotPtr = CreateGEP(Context, AtEntry, ConcreteStackEntryTy, in runOnFunction()
339 AtEntry.SetInsertPoint(IP->getParent(), IP); in runOnFunction()
342 Instruction *EntryNextPtr = CreateGEP(Context, AtEntry, ConcreteStackEntryTy, in runOnFunction()
344 Instruction *NewHeadVal = CreateGEP(Context, AtEntry, ConcreteStackEntryTy, in runOnFunction()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DShadowStackGC.cpp392 IRBuilder<> AtEntry(IP->getParent(), IP); in performCustomLowering() local
394 Instruction *StackEntry = AtEntry.CreateAlloca(ConcreteStackEntryTy, 0, in performCustomLowering()
398 AtEntry.SetInsertPoint(IP->getParent(), IP); in performCustomLowering()
401 Instruction *CurrentHead = AtEntry.CreateLoad(Head, "gc_currhead"); in performCustomLowering()
402 Instruction *EntryMapPtr = CreateGEP(Context, AtEntry, StackEntry, in performCustomLowering()
404 AtEntry.CreateStore(FrameMap, EntryMapPtr); in performCustomLowering()
409 Value *SlotPtr = CreateGEP(Context, AtEntry, StackEntry, 1 + I, "gc_root"); in performCustomLowering()
422 AtEntry.SetInsertPoint(IP->getParent(), IP); in performCustomLowering()
425 Instruction *EntryNextPtr = CreateGEP(Context, AtEntry, in performCustomLowering()
427 Instruction *NewHeadVal = CreateGEP(Context, AtEntry, in performCustomLowering()
[all …]
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp403 IRBuilder<> AtEntry(IP->getParent(), IP); in runOnFunction() local
406 AtEntry.CreateAlloca(ConcreteStackEntryTy, nullptr, "gc_frame"); in runOnFunction()
410 AtEntry.SetInsertPoint(IP->getParent(), IP); in runOnFunction()
413 Instruction *CurrentHead = AtEntry.CreateLoad(Head, "gc_currhead"); in runOnFunction()
414 Instruction *EntryMapPtr = CreateGEP(Context, AtEntry, ConcreteStackEntryTy, in runOnFunction()
416 AtEntry.CreateStore(FrameMap, EntryMapPtr); in runOnFunction()
421 Value *SlotPtr = CreateGEP(Context, AtEntry, ConcreteStackEntryTy, in runOnFunction()
436 AtEntry.SetInsertPoint(IP->getParent(), IP); in runOnFunction()
439 Instruction *EntryNextPtr = CreateGEP(Context, AtEntry, ConcreteStackEntryTy, in runOnFunction()
441 Instruction *NewHeadVal = CreateGEP(Context, AtEntry, ConcreteStackEntryTy, in runOnFunction()
[all …]