Introduce model of global initializers in Subzero.
Modifies both LLVM to ICE converter, and Subzero's bitcode reader,
to build Subzero's global initializers. Modifies target lowering
routines for global initializers to use this new model.
Also modifies both to now handle relocations in global variable
initializers.
BUG=None
R=jvoung@chromium.org, stichnot@chromium.org
Review URL: https://codereview.chromium.org/624663002
diff --git a/src/IceTypeConverter.h b/src/IceTypeConverter.h
index 59709ce..a1dffeb 100644
--- a/src/IceTypeConverter.h
+++ b/src/IceTypeConverter.h
@@ -68,7 +68,7 @@
std::map<llvm::Type *, Type> LLVM2IceMap;
// Add LLVM/ICE pair to internal tables.
- void AddLLVMType(Type Ty, llvm::Type *LLVMTy);
+ void addLLVMType(Type Ty, llvm::Type *LLVMTy);
// Converts types not in LLVM2IceMap.
Type convertToIceTypeOther(llvm::Type *LLVMTy) const;