Searched refs:UnsafeStackPtr (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 117 Value *UnsafeStackPtr = nullptr; member in __anon562cb0d20111::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-10.0/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 136 Value *UnsafeStackPtr = nullptr; member in __anon3a3d6bf40111::SafeStack 192 void moveDynamicAllocasToUnsafeStack(Function &F, Value *UnsafeStackPtr, 458 IRB.CreateStore(CurrentTop, UnsafeStackPtr); in createStackRestorePoints() 635 IRB.CreateStore(StaticTop, UnsafeStackPtr); in moveStaticAllocasToUnsafeStack() 640 Function &F, Value *UnsafeStackPtr, AllocaInst *DynamicTop, in moveDynamicAllocasToUnsafeStack() argument 656 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack() 671 IRB.CreateStore(NewTop, UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 694 Instruction *LI = IRB.CreateLoad(StackPtrTy, UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 700 Instruction *SI = IRB.CreateStore(II->getArgOperand(0), UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 720 if (!isa<CallInst>(UnsafeStackPtr)) in TryInlinePointerAddress() [all …]
|
D | TargetLoweringBase.cpp | 1687 auto UnsafeStackPtr = in getDefaultSafeStackPointerLocation() local 1692 if (!UnsafeStackPtr) { in getDefaultSafeStackPointerLocation() 1699 UnsafeStackPtr = new GlobalVariable( in getDefaultSafeStackPointerLocation() 1704 if (UnsafeStackPtr->getValueType() != StackPtrTy) in getDefaultSafeStackPointerLocation() 1706 if (UseTLS != UnsafeStackPtr->isThreadLocal()) in getDefaultSafeStackPointerLocation() 1710 return UnsafeStackPtr; in getDefaultSafeStackPointerLocation()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 140 Value *UnsafeStackPtr = nullptr; member in __anonb64362000111::SafeStack 194 void moveDynamicAllocasToUnsafeStack(Function &F, Value *UnsafeStackPtr, 463 IRB.CreateStore(CurrentTop, UnsafeStackPtr); in createStackRestorePoints() 649 IRB.CreateStore(StaticTop, UnsafeStackPtr); in moveStaticAllocasToUnsafeStack() 654 Function &F, Value *UnsafeStackPtr, AllocaInst *DynamicTop, in moveDynamicAllocasToUnsafeStack() argument 670 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack() 685 IRB.CreateStore(NewTop, UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 708 Instruction *LI = IRB.CreateLoad(StackPtrTy, UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 714 Instruction *SI = IRB.CreateStore(II->getArgOperand(0), UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack() 735 auto *CI = dyn_cast<CallInst>(UnsafeStackPtr); in TryInlinePointerAddress() [all …]
|
D | TargetLoweringBase.cpp | 1873 auto UnsafeStackPtr = in getDefaultSafeStackPointerLocation() local 1878 if (!UnsafeStackPtr) { in getDefaultSafeStackPointerLocation() 1885 UnsafeStackPtr = new GlobalVariable( in getDefaultSafeStackPointerLocation() 1890 if (UnsafeStackPtr->getValueType() != StackPtrTy) in getDefaultSafeStackPointerLocation() 1892 if (UseTLS != UnsafeStackPtr->isThreadLocal()) in getDefaultSafeStackPointerLocation() 1896 return UnsafeStackPtr; in getDefaultSafeStackPointerLocation()
|