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

Unified Diff: src/IceTargetLoweringARM32.h

Issue 1474883002: Subzero. ARM32. Pre-lowers calls to ARM32 Helpers. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: reverts lsl lit test. Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/IceTargetLoweringARM32.cpp » ('j') | src/IceTargetLoweringARM32.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringARM32.h
diff --git a/src/IceTargetLoweringARM32.h b/src/IceTargetLoweringARM32.h
index e3bebde0ed998e32a5e31493e231890117834827..2f7cc9fba2684a462ac4dfdc1c09ad86605e71d1 100644
--- a/src/IceTargetLoweringARM32.h
+++ b/src/IceTargetLoweringARM32.h
@@ -237,7 +237,7 @@ protected:
void lowerUnreachable(const InstUnreachable *Inst) override;
void prelowerPhis() override;
uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) override;
- void genTargetHelperCallFor(Inst *Instr) override { (void)Instr; }
+ void genTargetHelperCallFor(Inst *Instr) override;
void doAddressOptLoad() override;
void doAddressOptStore() override;
void randomlyInsertNop(float Probability,
@@ -268,8 +268,7 @@ protected:
using DivInstr = void (TargetARM32::*)(Variable *, Variable *, Variable *,
CondARM32::Cond);
void lowerIDivRem(Variable *Dest, Variable *T, Variable *Src0R, Operand *Src1,
- ExtInstr ExtFunc, DivInstr DivFunc,
- const char *DivHelperName, bool IsRemainder);
+ ExtInstr ExtFunc, DivInstr DivFunc, bool IsRemainder);
void lowerCLZ(Variable *Dest, Variable *ValLo, Variable *ValHi);
@@ -917,6 +916,13 @@ private:
OperandARM32Mem *formAddressingMode(Type Ty, Cfg *Func, const Inst *LdSt,
Operand *Base);
+ void postambleCtpop64(const InstCall *Instr);
+ void preambleDivRem(const InstCall *Instr);
+ std::unordered_map<Operand *, void (TargetARM32::*)(const InstCall *Inst)>
+ ARM32HelpersPreamble;
+ std::unordered_map<Operand *, void (TargetARM32::*)(const InstCall *Inst)>
+ ARM32HelpersPostamble;
+
class BoolComputationTracker {
public:
BoolComputationTracker() = default;
« no previous file with comments | « no previous file | src/IceTargetLoweringARM32.cpp » ('j') | src/IceTargetLoweringARM32.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698