Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Side by Side Diff: src/IceTargetLowering.h

Issue 1876413002: Subzero. WASM. Additional progress. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review feedback and merging with master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceInstX86BaseImpl.h ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 // Applies command line filters to TypeToRegisterSet array. 368 // Applies command line filters to TypeToRegisterSet array.
369 static void filterTypeToRegisterSet( 369 static void filterTypeToRegisterSet(
370 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[], 370 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[],
371 size_t TypeToRegisterSetSize, 371 size_t TypeToRegisterSetSize,
372 std::function<std::string(RegNumT)> getRegName, 372 std::function<std::string(RegNumT)> getRegName,
373 std::function<const char *(RegClass)> getRegClassName); 373 std::function<const char *(RegClass)> getRegClassName);
374 virtual void lowerAlloca(const InstAlloca *Instr) = 0; 374 virtual void lowerAlloca(const InstAlloca *Instr) = 0;
375 virtual void lowerArithmetic(const InstArithmetic *Instr) = 0; 375 virtual void lowerArithmetic(const InstArithmetic *Instr) = 0;
376 virtual void lowerAssign(const InstAssign *Instr) = 0; 376 virtual void lowerAssign(const InstAssign *Instr) = 0;
377 virtual void lowerBr(const InstBr *Instr) = 0; 377 virtual void lowerBr(const InstBr *Instr) = 0;
378 virtual void lowerBreakpoint(const InstBreakpoint *Instr) = 0;
378 virtual void lowerCall(const InstCall *Instr) = 0; 379 virtual void lowerCall(const InstCall *Instr) = 0;
379 virtual void lowerCast(const InstCast *Instr) = 0; 380 virtual void lowerCast(const InstCast *Instr) = 0;
380 virtual void lowerFcmp(const InstFcmp *Instr) = 0; 381 virtual void lowerFcmp(const InstFcmp *Instr) = 0;
381 virtual void lowerExtractElement(const InstExtractElement *Instr) = 0; 382 virtual void lowerExtractElement(const InstExtractElement *Instr) = 0;
382 virtual void lowerIcmp(const InstIcmp *Instr) = 0; 383 virtual void lowerIcmp(const InstIcmp *Instr) = 0;
383 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0; 384 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0;
384 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0; 385 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0;
385 virtual void lowerLoad(const InstLoad *Instr) = 0; 386 virtual void lowerLoad(const InstLoad *Instr) = 0;
386 virtual void lowerPhi(const InstPhi *Instr) = 0; 387 virtual void lowerPhi(const InstPhi *Instr) = 0;
387 virtual void lowerRet(const InstRet *Instr) = 0; 388 virtual void lowerRet(const InstRet *Instr) = 0;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 virtual void lower() {} 618 virtual void lower() {}
618 619
619 protected: 620 protected:
620 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} 621 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {}
621 GlobalContext *Ctx; 622 GlobalContext *Ctx;
622 }; 623 };
623 624
624 } // end of namespace Ice 625 } // end of namespace Ice
625 626
626 #endif // SUBZERO_SRC_ICETARGETLOWERING_H 627 #endif // SUBZERO_SRC_ICETARGETLOWERING_H
OLDNEW
« no previous file with comments | « src/IceInstX86BaseImpl.h ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698