Home
last modified time | relevance | path

Searched refs:StackProtector (Results 1 – 25 of 41) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DStackProtector.cpp41 class StackProtector : public FunctionPass { class
68 StackProtector() : FunctionPass(ID), TLI(0) { in StackProtector() function in __anon3c135be30111::StackProtector
71 StackProtector(const TargetLowering *tli) in StackProtector() function in __anon3c135be30111::StackProtector
84 char StackProtector::ID = 0;
85 INITIALIZE_PASS(StackProtector, "stack-protector",
89 return new StackProtector(tli); in createStackProtectorPass()
92 bool StackProtector::runOnFunction(Function &Fn) { in runOnFunction()
106 bool StackProtector::RequiresStackProtector() const { in RequiresStackProtector()
148 bool StackProtector::InsertStackProtectors() { in InsertStackProtectors()
251 BasicBlock *StackProtector::CreateFailBB() { in CreateFailBB()
/external/llvm/lib/CodeGen/
DStackProtector.cpp52 char StackProtector::ID = 0;
53 INITIALIZE_PASS(StackProtector, "stack-protector", "Insert stack protectors",
57 return new StackProtector(TM); in createStackProtectorPass()
60 StackProtector::SSPLayoutKind
61 StackProtector::getSSPLayout(const AllocaInst *AI) const { in getSSPLayout()
65 void StackProtector::adjustForColoring(const AllocaInst *From, in adjustForColoring()
86 bool StackProtector::runOnFunction(Function &Fn) { in runOnFunction()
119 bool StackProtector::ContainsProtectableArray(Type *Ty, bool &IsLarge, in ContainsProtectableArray()
166 bool StackProtector::HasAddressTaken(const Instruction *AI) { in HasAddressTaken()
211 bool StackProtector::RequiresStackProtector() { in RequiresStackProtector()
[all …]
DLocalStackSlotAllocation.cpp87 AU.addRequired<StackProtector>(); in getAnalysisUsage()
99 INITIALIZE_PASS_DEPENDENCY(StackProtector) in INITIALIZE_PASS_DEPENDENCY() argument
192 StackProtector *SP = &getAnalysis<StackProtector>(); in calculateFrameObjectOffsets()
213 case StackProtector::SSPLK_None: in calculateFrameObjectOffsets()
215 case StackProtector::SSPLK_SmallArray: in calculateFrameObjectOffsets()
218 case StackProtector::SSPLK_AddrOf: in calculateFrameObjectOffsets()
221 case StackProtector::SSPLK_LargeArray: in calculateFrameObjectOffsets()
DPrologEpilogInserter.cpp143 INITIALIZE_PASS_DEPENDENCY(StackProtector) in INITIALIZE_PASS_DEPENDENCY()
161 AU.addRequired<StackProtector>(); in getAnalysisUsage()
703 StackProtector *SP = &getAnalysis<StackProtector>(); in calculateFrameObjectOffsets()
850 case StackProtector::SSPLK_None: in calculateFrameObjectOffsets()
852 case StackProtector::SSPLK_SmallArray: in calculateFrameObjectOffsets()
855 case StackProtector::SSPLK_AddrOf: in calculateFrameObjectOffsets()
858 case StackProtector::SSPLK_LargeArray: in calculateFrameObjectOffsets()
DMachineFunctionPass.cpp86 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
DStackColoring.cpp282 StackProtector *SP;
378 INITIALIZE_PASS_DEPENDENCY(StackProtector) in INITIALIZE_PASS_DEPENDENCY()
384 AU.addRequired<StackProtector>(); in INITIALIZE_PASS_DEPENDENCY()
985 SP = &getAnalysis<StackProtector>(); in runOnMachineFunction()
DCMakeLists.txt124 StackProtector.cpp
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DStackProtector.cpp63 char StackProtector::ID = 0;
65 INITIALIZE_PASS_BEGIN(StackProtector, DEBUG_TYPE,
68 INITIALIZE_PASS_END(StackProtector, DEBUG_TYPE, in INITIALIZE_PASS_DEPENDENCY()
71 FunctionPass *llvm::createStackProtectorPass() { return new StackProtector(); } in INITIALIZE_PASS_DEPENDENCY()
73 void StackProtector::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
78 bool StackProtector::runOnFunction(Function &Fn) { in runOnFunction()
113 bool StackProtector::ContainsProtectableArray(Type *Ty, bool &IsLarge, in ContainsProtectableArray()
168 bool StackProtector::HasAddressTaken(const Instruction *AI) { in HasAddressTaken()
215 bool StackProtector::RequiresStackProtector() { in RequiresStackProtector()
376 bool StackProtector::InsertStackProtectors() { in InsertStackProtectors()
[all …]
DResetMachineFunctionPass.cpp49 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
DCMakeLists.txt144 StackProtector.cpp
/external/llvm/include/llvm/CodeGen/
DStackProtector.h32 class StackProtector : public FunctionPass {
114 StackProtector() in StackProtector() function
118 StackProtector(const TargetMachine *TM) in StackProtector() function
DMIRYamlMapping.h346 StringValue StackProtector;
367 YamlIO.mapOptional("stackProtector", MFI.StackProtector,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DStackProtector.h38 class StackProtector : public FunctionPass {
108 StackProtector() : FunctionPass(ID), SSPBufferSize(8) { in StackProtector() function
DMIRYamlMapping.h425 StringValue StackProtector;
444 StackProtector == Other.StackProtector &&
465 YamlIO.mapOptional("stackProtector", MFI.StackProtector,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsModuleISelDAGToDAG.cpp36 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
DMipsISelDAGToDAG.cpp53 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp30 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
DNVPTXLowerAggrCopies.cpp45 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
/external/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp32 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
/external/llvm/test/CodeGen/X86/
Dsafestack_ssp.ll1 ; Test codegen pipeline for SafeStack + StackProtector combination.
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dsafestack_ssp.ll1 ; Test codegen pipeline for SafeStack + StackProtector combination.
/external/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp48 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp43 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp543 if (!YamlMFI.StackProtector.Value.empty()) { in initializeFrameInfo()
546 if (parseStackObjectReference(PFS, FI, YamlMFI.StackProtector.Value, Error)) in initializeFrameInfo()
547 return error(Error, YamlMFI.StackProtector.SourceRange); in initializeFrameInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp239 AU.addPreserved<StackProtector>(); in getSelectionDAGFallbackAnalysisUsage()

12