llvm.org GIT mirror llvm / 380de54
Fix -Wextra-semi warnings. Patch by Eugene Zelenko! Differential Revision: http://reviews.llvm.org/D11400 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242930 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 5 years ago
17 changed file(s) with 21 addition(s) and 21 deletion(s). Raw diff Collapse all Expand all
189189
190190 Function &getFunction() const {
191191 return F;
192 };
192 }
193193
194194 iterator begin() const {
195195 return iterator(*G, Callees.begin(), Callees.end());
200200 }
201201 bool isFunctionVectorizable(StringRef F, unsigned VF) const {
202202 return Impl->isFunctionVectorizable(F, VF);
203 };
203 }
204204 bool isFunctionVectorizable(StringRef F) const {
205205 return Impl->isFunctionVectorizable(F);
206 };
206 }
207207 StringRef getVectorizedFunction(StringRef F, unsigned VF) const {
208208 return Impl->getVectorizedFunction(F, VF);
209 };
209 }
210210
211211 /// \brief Tests if the function is both available and a candidate for
212212 /// optimized code generation.
158158 BitcodeDiagnosticInfo(std::error_code EC, DiagnosticSeverity Severity,
159159 const Twine &Msg);
160160 void print(DiagnosticPrinter &DP) const override;
161 std::error_code getError() const { return EC; };
161 std::error_code getError() const { return EC; }
162162
163163 static bool classof(const DiagnosticInfo *DI) {
164164 return DI->getKind() == DK_Bitcode;
914914 MachineBasicBlock::iterator End,
915915 unsigned NumRegionInstrs) override {
916916 /* no configurable policy */
917 };
917 }
918918
919919 /// PostRA scheduling does not track pressure.
920920 bool shouldTrackPressure() const override { return false; }
373373 /// correspond to schedulable entities (e.g. instructions) and do not have a
374374 /// valid ID. Consequently, always check for boundary nodes before accessing
375375 /// an assoicative data structure keyed on node ID.
376 bool isBoundaryNode() const { return NodeNum == BoundaryID; };
376 bool isBoundaryNode() const { return NodeNum == BoundaryID; }
377377
378378 /// setNode - Assign the representative SDNode for this SUnit.
379379 /// This may be used during pre-regalloc scheduling.
480480 }
481481
482482 protected:
483 ExecutionEngine(const DataLayout DL) : DL(std::move(DL)){};
483 ExecutionEngine(const DataLayout DL) : DL(std::move(DL)){}
484484 explicit ExecutionEngine(DataLayout DL, std::unique_ptr M);
485485 explicit ExecutionEngine(std::unique_ptr M);
486486
8686 /// \brief Memory Management.
8787 class MemoryManager {
8888 public:
89 virtual ~MemoryManager() {};
89 virtual ~MemoryManager() {}
9090
9191 /// Allocate a memory block of (at least) the given size suitable for
9292 /// executable code. The SectionID is a unique identifier assigned by the
148148 /// \brief Symbol resolution.
149149 class SymbolResolver {
150150 public:
151 virtual ~SymbolResolver() {};
151 virtual ~SymbolResolver() {}
152152
153153 /// This method returns the address of the specified function or variable.
154154 /// It is used to resolve symbols during module linking.
6666
6767 operator Metadata *() const { return const_cast(MD); }
6868
69 bool operator==(const TypedDINodeRef &X) const { return MD == X.MD; };
70 bool operator!=(const TypedDINodeRef &X) const { return MD != X.MD; };
69 bool operator==(const TypedDINodeRef &X) const { return MD == X.MD; }
70 bool operator!=(const TypedDINodeRef &X) const { return MD != X.MD; }
7171
7272 /// \brief Create a reference.
7373 ///
6262 raw_ostream &Stream;
6363
6464 public:
65 DiagnosticPrinterRawOStream(raw_ostream &Stream) : Stream(Stream) {};
65 DiagnosticPrinterRawOStream(raw_ostream &Stream) : Stream(Stream) {}
6666
6767 // Simple types.
6868 DiagnosticPrinter &operator<<(char C) override;
159159 public:
160160 typedef SmallVectorImpl LOHDirectives;
161161
162 MCLOHContainer() : EmitSize(0) {};
162 MCLOHContainer() : EmitSize(0) {}
163163
164164 /// Const accessor to the directives.
165165 const LOHDirectives &getDirectives() const {
197197 return nullptr;
198198 }
199199
200 virtual void onLabelParsed(MCSymbol *Symbol) { };
200 virtual void onLabelParsed(MCSymbol *Symbol) { }
201201 };
202202
203203 } // End llvm namespace
67306730 ScalarEvolution &SE;
67316731
67326732 explicit ClearWalkingBEDominatingCondsOnExit(ScalarEvolution &SE)
6733 : SE(SE){};
6733 : SE(SE){}
67346734
67356735 ~ClearWalkingBEDominatingCondsOnExit() {
67366736 SE.WalkingBEDominatingConds = false;
289289 "Incorrect number of Infos for Objects.");
290290 for (unsigned I = 0; I < Objects.size(); ++I)
291291 M.MemMgr.notifyObjectLoaded(&M, *Objects[I]);
292 };
292 }
293293
294294 private:
295295 OrcMCJITReplacement &M;
4848 "' in -pass-remarks: " + RegexError,
4949 false);
5050 }
51 };
51 }
5252 };
5353
5454 static PassRemarksOpt PassRemarksOptLoc;
5353 struct CallContext {
5454 CallContext()
5555 : Call(nullptr), SPCopy(nullptr), ExpectedDist(0),
56 MovVector(4, nullptr), NoStackParams(false), UsePush(false){};
56 MovVector(4, nullptr), NoStackParams(false), UsePush(false){}
5757
5858 // Actuall call instruction
5959 MachineInstr *Call;
9999 public:
100100 X86MachineFunctionInfo() = default;
101101
102 explicit X86MachineFunctionInfo(MachineFunction &MF) {};
102 explicit X86MachineFunctionInfo(MachineFunction &MF) {}
103103
104104 bool getForceFramePointer() const { return ForceFramePointer;}
105105 void setForceFramePointer(bool forceFP) { ForceFramePointer = forceFP; }
505505 /// This POD struct describes one external user in the vectorized tree.
506506 struct ExternalUser {
507507 ExternalUser (Value *S, llvm::User *U, int L) :
508 Scalar(S), User(U), Lane(L){};
508 Scalar(S), User(U), Lane(L){}
509509 // Which scalar in our function.
510510 Value *Scalar;
511511 // Which user that uses the scalar.