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

Side by Side Diff: src/IceTargetLowering.h

Issue 321993002: Add a few Subzero intrinsics (not the atomic ones yet). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: remove TODO Created 6 years, 6 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/IceIntrinsics.cpp ('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 // This file declares the TargetLowering and LoweringContext 10 // This file declares the TargetLowering and LoweringContext
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 : Func(Func), Ctx(Func->getContext()), HasComputedFrame(false), 160 : Func(Func), Ctx(Func->getContext()), HasComputedFrame(false),
161 StackAdjustment(0) {} 161 StackAdjustment(0) {}
162 virtual void lowerAlloca(const InstAlloca *Inst) = 0; 162 virtual void lowerAlloca(const InstAlloca *Inst) = 0;
163 virtual void lowerArithmetic(const InstArithmetic *Inst) = 0; 163 virtual void lowerArithmetic(const InstArithmetic *Inst) = 0;
164 virtual void lowerAssign(const InstAssign *Inst) = 0; 164 virtual void lowerAssign(const InstAssign *Inst) = 0;
165 virtual void lowerBr(const InstBr *Inst) = 0; 165 virtual void lowerBr(const InstBr *Inst) = 0;
166 virtual void lowerCall(const InstCall *Inst) = 0; 166 virtual void lowerCall(const InstCall *Inst) = 0;
167 virtual void lowerCast(const InstCast *Inst) = 0; 167 virtual void lowerCast(const InstCast *Inst) = 0;
168 virtual void lowerFcmp(const InstFcmp *Inst) = 0; 168 virtual void lowerFcmp(const InstFcmp *Inst) = 0;
169 virtual void lowerIcmp(const InstIcmp *Inst) = 0; 169 virtual void lowerIcmp(const InstIcmp *Inst) = 0;
170 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Inst) = 0;
170 virtual void lowerLoad(const InstLoad *Inst) = 0; 171 virtual void lowerLoad(const InstLoad *Inst) = 0;
171 virtual void lowerPhi(const InstPhi *Inst) = 0; 172 virtual void lowerPhi(const InstPhi *Inst) = 0;
172 virtual void lowerRet(const InstRet *Inst) = 0; 173 virtual void lowerRet(const InstRet *Inst) = 0;
173 virtual void lowerSelect(const InstSelect *Inst) = 0; 174 virtual void lowerSelect(const InstSelect *Inst) = 0;
174 virtual void lowerStore(const InstStore *Inst) = 0; 175 virtual void lowerStore(const InstStore *Inst) = 0;
175 virtual void lowerSwitch(const InstSwitch *Inst) = 0; 176 virtual void lowerSwitch(const InstSwitch *Inst) = 0;
176 virtual void lowerUnreachable(const InstUnreachable *Inst) = 0; 177 virtual void lowerUnreachable(const InstUnreachable *Inst) = 0;
177 178
178 virtual void doAddressOptLoad() {} 179 virtual void doAddressOptLoad() {}
179 virtual void doAddressOptStore() {} 180 virtual void doAddressOptStore() {}
(...skipping 14 matching lines...) Expand all
194 LoweringContext Context; 195 LoweringContext Context;
195 196
196 private: 197 private:
197 TargetLowering(const TargetLowering &) LLVM_DELETED_FUNCTION; 198 TargetLowering(const TargetLowering &) LLVM_DELETED_FUNCTION;
198 TargetLowering &operator=(const TargetLowering &) LLVM_DELETED_FUNCTION; 199 TargetLowering &operator=(const TargetLowering &) LLVM_DELETED_FUNCTION;
199 }; 200 };
200 201
201 } // end of namespace Ice 202 } // end of namespace Ice
202 203
203 #endif // SUBZERO_SRC_ICETARGETLOWERING_H 204 #endif // SUBZERO_SRC_ICETARGETLOWERING_H
OLDNEW
« no previous file with comments | « src/IceIntrinsics.cpp ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698