Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DSafeStack.cpp177 AllocaInst *DynamicTop,
469 AllocaInst *DynamicTop = nullptr; in createStackRestorePoints() local
473 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr, in createStackRestorePoints()
475 IRB.CreateStore(StaticTop, DynamicTop); in createStackRestorePoints()
483 Value *CurrentTop = DynamicTop ? IRB.CreateLoad(DynamicTop) : StaticTop; in createStackRestorePoints()
487 return DynamicTop; in createStackRestorePoints()
672 Function &F, Value *UnsafeStackPtr, AllocaInst *DynamicTop, in moveDynamicAllocasToUnsafeStack() argument
703 if (DynamicTop) in moveDynamicAllocasToUnsafeStack()
704 IRB.CreateStore(NewTop, DynamicTop); in moveDynamicAllocasToUnsafeStack()
824 AllocaInst *DynamicTop = createStackRestorePoints( in runOnFunction() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSafeStack.cpp193 AllocaInst *DynamicTop,
439 AllocaInst *DynamicTop = nullptr; in createStackRestorePoints() local
443 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr, in createStackRestorePoints()
445 IRB.CreateStore(StaticTop, DynamicTop); in createStackRestorePoints()
453 Value *CurrentTop = DynamicTop ? IRB.CreateLoad(DynamicTop) : StaticTop; in createStackRestorePoints()
457 return DynamicTop; in createStackRestorePoints()
644 Function &F, Value *UnsafeStackPtr, AllocaInst *DynamicTop, in moveDynamicAllocasToUnsafeStack() argument
675 if (DynamicTop) in moveDynamicAllocasToUnsafeStack()
676 IRB.CreateStore(NewTop, DynamicTop); in moveDynamicAllocasToUnsafeStack()
819 AllocaInst *DynamicTop = createStackRestorePoints( in run() local
[all …]