Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DStackProtector.cpp41 class StackProtector : public FunctionPass { class
68 StackProtector() : FunctionPass(ID), TLI(0) { in StackProtector() function in __anon55ee0f990111::StackProtector
71 StackProtector(const TargetLowering *tli) in StackProtector() function in __anon55ee0f990111::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
DMIRPrinter.cpp358 raw_string_ostream StrOS(MF.FrameInfo.StackProtector.Value); in convertStackObjects()
/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/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp32 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
DNVPTXLowerAggrCopies.cpp45 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
/external/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/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/clang/include/clang/Basic/
DLangOptions.def230 ENUM_LANGOPT(StackProtector, StackProtectorMode, 2, SSPOff,
/external/swiftshader/third_party/LLVM/
DAndroid.mk146 lib/CodeGen/StackProtector.cpp \
DBUILD.gn213 "lib/CodeGen/StackProtector.cpp",
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp380 AU.addRequired<StackProtector>(); in getAnalysisUsage()
381 AU.addPreserved<StackProtector>(); in getAnalysisUsage()
1465 if (getAnalysis<StackProtector>().shouldEmitSDCheck(*LLVMBB)) { in SelectAllBasicBlocks()
/external/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll23 ; a dependency on the TargetPassConfig and StackProtector classes, which
/external/swiftshader/
DCMakeLists.txt332 ${LLVM_DIR}/lib/CodeGen/StackProtector.cpp