Home
last modified time | relevance | path

Searched refs:StackPtrTy (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStack.cpp131 Type *StackPtrTy; member in __anon3a3d6bf40111::SafeStack
210 StackPtrTy(Type::getInt8PtrTy(F.getContext())), in SafeStack()
374 F.getParent()->getOrInsertGlobal("__stack_chk_guard", StackPtrTy); in getStackGuard()
375 return IRB.CreateLoad(StackPtrTy, StackGuardVar, "StackGuard"); in getStackGuard()
446 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr, in createStackRestorePoints()
457 DynamicTop ? IRB.CreateLoad(StackPtrTy, DynamicTop) : StaticTop; in createStackRestorePoints()
466 Value *V = IRB.CreateLoad(StackPtrTy, StackGuardSlot); in checkStackGuard()
547 StackPtrTy)); in moveStaticAllocasToUnsafeStack()
656 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
668 StackPtrTy); in moveDynamicAllocasToUnsafeStack()
[all …]
DTargetLoweringBase.cpp1690 Type *StackPtrTy = Type::getInt8PtrTy(M->getContext()); in getDefaultSafeStackPointerLocation() local
1700 *M, StackPtrTy, false, GlobalValue::ExternalLinkage, nullptr, in getDefaultSafeStackPointerLocation()
1704 if (UnsafeStackPtr->getValueType() != StackPtrTy) in getDefaultSafeStackPointerLocation()
1720 Type *StackPtrTy = Type::getInt8PtrTy(M->getContext()); in getSafeStackPointerLocation() local
1722 StackPtrTy->getPointerTo(0)); in getSafeStackPointerLocation()
/external/llvm-project/llvm/lib/CodeGen/
DSafeStack.cpp135 Type *StackPtrTy; member in __anonb64362000111::SafeStack
212 StackPtrTy(Type::getInt8PtrTy(F.getContext())), in SafeStack()
376 F.getParent()->getOrInsertGlobal("__stack_chk_guard", StackPtrTy); in getStackGuard()
377 return IRB.CreateLoad(StackPtrTy, StackGuardVar, "StackGuard"); in getStackGuard()
451 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr, in createStackRestorePoints()
462 DynamicTop ? IRB.CreateLoad(StackPtrTy, DynamicTop) : StaticTop; in createStackRestorePoints()
471 Value *V = IRB.CreateLoad(StackPtrTy, StackGuardSlot); in checkStackGuard()
562 StackPtrTy)); in moveStaticAllocasToUnsafeStack()
670 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
682 StackPtrTy); in moveDynamicAllocasToUnsafeStack()
[all …]
DTargetLoweringBase.cpp1876 Type *StackPtrTy = Type::getInt8PtrTy(M->getContext()); in getDefaultSafeStackPointerLocation() local
1886 *M, StackPtrTy, false, GlobalValue::ExternalLinkage, nullptr, in getDefaultSafeStackPointerLocation()
1890 if (UnsafeStackPtr->getValueType() != StackPtrTy) in getDefaultSafeStackPointerLocation()
1906 Type *StackPtrTy = Type::getInt8PtrTy(M->getContext()); in getSafeStackPointerLocation() local
1908 StackPtrTy->getPointerTo(0)); in getSafeStackPointerLocation()
/external/llvm/lib/CodeGen/
DSafeStack.cpp112 Type *StackPtrTy; member in __anon562cb0d20111::SafeStack
202 StackPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization()
382 M, StackPtrTy, false, GlobalValue::ExternalLinkage, nullptr, in getOrCreateUnsafeStackPtr()
386 if (UnsafeStackPtr->getValueType() != StackPtrTy) in getOrCreateUnsafeStackPtr()
401 F.getParent()->getOrInsertGlobal("__stack_chk_guard", StackPtrTy); in getStackGuard()
473 DynamicTop = IRB.CreateAlloca(StackPtrTy, /*ArraySize=*/nullptr, in createStackRestorePoints()
573 StackPtrTy)); in moveStaticAllocasToUnsafeStack()
699 StackPtrTy); in moveDynamicAllocasToUnsafeStack()
795 assert(BasePointer->getType() == StackPtrTy); in runOnFunction()
803 StackGuardSlot = IRB.CreateAlloca(StackPtrTy, nullptr); in runOnFunction()
DTargetLoweringBase.cpp1764 Type *StackPtrTy = Type::getInt8PtrTy(M->getContext()); in getSafeStackPointerLocation() local
1766 StackPtrTy->getPointerTo(0), nullptr); in getSafeStackPointerLocation()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp5477 llvm::Type *StackPtrTy = llvm::ArrayType::get(CGM.Int8PtrTy, 4); in ObjCTypesHelper() local
5482 StackPtrTy, nullptr); in ObjCTypesHelper()
/external/llvm-project/clang/lib/CodeGen/
DCGObjCMac.cpp6008 llvm::Type *StackPtrTy = llvm::ArrayType::get(CGM.Int8PtrTy, 4); in ObjCTypesHelper() local
6012 llvm::ArrayType::get(CGM.Int32Ty, SetJmpBufferSize), StackPtrTy); in ObjCTypesHelper()