summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2011-12-27 17:59:35 +0800
committer Shih-wei Liao <sliao@google.com> 2012-02-16 13:01:55 -0800
commita78e3c828f9a701892482909b4d06af74a4fdbd7 (patch)
tree0e1d7195cdf262e1445c8ee9e28c67339f3e60c9 /src/compiler_llvm/method_compiler.h
parent8535f7432ef84b6307ac9bcb84444b6c2edab635 (diff)
Implement conditional branch.
Change-Id: I73ea66f9a6547840c85b1a9c416a52d699fe3aa2
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
-rw-r--r--src/compiler_llvm/method_compiler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h
index 08ea7896e2..8833a5ccff 100644
--- a/src/compiler_llvm/method_compiler.h
+++ b/src/compiler_llvm/method_compiler.h
@@ -279,6 +279,12 @@ class MethodCompiler {
llvm::Value* EmitCompareResultSelection(llvm::Value* cmp_eq,
llvm::Value* cmp_lt);
+ llvm::Value* EmitConditionResult(llvm::Value* lhs,
+ llvm::Value* rhs,
+ CondBranchKind cond);
+
+ RegCategory GetInferredRegCategory(uint32_t dex_pc, uint16_t reg);
+
// Basic block helper functions
llvm::BasicBlock* GetBasicBlock(uint32_t dex_pc);