llvm.org GIT mirror llvm / 982112b
[LLVM][NFC] remove unused fields Summary: Here is the commit introducing the fields https://github.com/llvm/llvm-project/commit/cf6749e4c091 It dates back from 2006 and was used by AArch64 backend. There is no more reference to these fields in the whole codebase so I think it's fine. Reviewers: courbet Subscribers: javed.absar, kristof.beyls, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66683 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369810 91177308-0d34-0410-b5e6-96231b3b80d8 Guillaume Chatelet 29 days ago
3 changed file(s) with 0 addition(s) and 35 deletion(s). Raw diff Collapse all Expand all
379379 }
380380 return N;
381381 }
382
383 unsigned getJumpBufAlignment() { return getTLI()->getJumpBufAlignment(); }
384
385 unsigned getJumpBufSize() { return getTLI()->getJumpBufSize(); }
386382
387383 bool shouldBuildLookupTables() {
388384 const TargetLoweringBase *TLI = getTLI();
15731573 report_fatal_error("Funclet EH is not implemented for this target");
15741574 }
15751575
1576 /// Returns the target's jmp_buf size in bytes (if never set, the default is
1577 /// 200)
1578 unsigned getJumpBufSize() const {
1579 return JumpBufSize;
1580 }
1581
1582 /// Returns the target's jmp_buf alignment in bytes (if never set, the default
1583 /// is 0)
1584 unsigned getJumpBufAlignment() const {
1585 return JumpBufAlignment;
1586 }
1587
15881576 /// Return the minimum stack alignment of an argument.
15891577 unsigned getMinStackArgumentAlignment() const {
15901578 return MinStackArgumentAlignment;
21062094 void setTargetDAGCombine(ISD::NodeType NT) {
21072095 assert(unsigned(NT >> 3) < array_lengthof(TargetDAGCombineArray));
21082096 TargetDAGCombineArray[NT >> 3] |= 1 << (NT&7);
2109 }
2110
2111 /// Set the target's required jmp_buf buffer size (in bytes); default is 200
2112 void setJumpBufSize(unsigned Size) {
2113 JumpBufSize = Size;
2114 }
2115
2116 /// Set the target's required jmp_buf buffer alignment (in bytes); default is
2117 /// 0
2118 void setJumpBufAlignment(unsigned Align) {
2119 JumpBufAlignment = Align;
21202097 }
21212098
21222099 /// Set the target's minimum function alignment (in log2(bytes))
27022679 /// register usage.
27032680 Sched::Preference SchedPreferenceInfo;
27042681
2705 /// The size, in bytes, of the target's jmp_buf buffers
2706 unsigned JumpBufSize;
2707
2708 /// The alignment, in bytes, of the target's jmp_buf buffers
2709 unsigned JumpBufAlignment;
2710
27112682 /// The minimum alignment that any argument on the stack needs to have.
27122683 unsigned MinStackArgumentAlignment;
27132684
577577 BooleanFloatContents = UndefinedBooleanContent;
578578 BooleanVectorContents = UndefinedBooleanContent;
579579 SchedPreferenceInfo = Sched::ILP;
580 JumpBufSize = 0;
581 JumpBufAlignment = 0;
582580 MinFunctionAlignment = 0;
583581 PrefFunctionAlignment = 0;
584582 PrefLoopAlignment = 0;