Searched refs:UnsafeStackPtr (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 117 Value *UnsafeStackPtr = nullptr; member in __anon825189cb0111::SafeStack 176 void moveDynamicAllocasToUnsafeStack(Function &F, Value *UnsafeStackPtr, 369 auto UnsafeStackPtr = in getOrCreateUnsafeStackPtr() local 374 if (!UnsafeStackPtr) { in getOrCreateUnsafeStackPtr() 381 UnsafeStackPtr = new GlobalVariable( in getOrCreateUnsafeStackPtr() 386 if (UnsafeStackPtr->getValueType() != StackPtrTy) in getOrCreateUnsafeStackPtr() 388 if (UseTLS != UnsafeStackPtr->isThreadLocal()) in getOrCreateUnsafeStackPtr() 392 return UnsafeStackPtr; in getOrCreateUnsafeStackPtr() 484 IRB.CreateStore(CurrentTop, UnsafeStackPtr); in createStackRestorePoints() 667 IRB.CreateStore(StaticTop, UnsafeStackPtr); in moveStaticAllocasToUnsafeStack() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 136 Value *UnsafeStackPtr = nullptr; member in __anonaf4797030111::SafeStack 192 void moveDynamicAllocasToUnsafeStack(Function &F, Value *UnsafeStackPtr, 454 IRB.CreateStore(CurrentTop, UnsafeStackPtr); in createStackRestorePoints() 639 IRB.CreateStore(StaticTop, UnsafeStackPtr); in moveStaticAllocasToUnsafeStack() 644 Function &F, Value *UnsafeStackPtr, AllocaInst *DynamicTop, in moveDynamicAllocasToUnsafeStack() argument 660 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); in moveDynamicAllocasToUnsafeStack() 674 IRB.CreateStore(NewTop, UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 698 Instruction *LI = IRB.CreateLoad(UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 704 Instruction *SI = IRB.CreateStore(II->getArgOperand(0), UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 724 if (!isa<CallInst>(UnsafeStackPtr)) in TryInlinePointerAddress() [all …]
|
D | TargetLoweringBase.cpp | 1537 auto UnsafeStackPtr = in getDefaultSafeStackPointerLocation() local 1542 if (!UnsafeStackPtr) { in getDefaultSafeStackPointerLocation() 1549 UnsafeStackPtr = new GlobalVariable( in getDefaultSafeStackPointerLocation() 1554 if (UnsafeStackPtr->getValueType() != StackPtrTy) in getDefaultSafeStackPointerLocation() 1556 if (UseTLS != UnsafeStackPtr->isThreadLocal()) in getDefaultSafeStackPointerLocation() 1560 return UnsafeStackPtr; in getDefaultSafeStackPointerLocation()
|