diff --git a/compiler/aarch64/codegen/OMRMachine.cpp b/compiler/aarch64/codegen/OMRMachine.cpp index c704e580229..4d8fdb1e0b1 100644 --- a/compiler/aarch64/codegen/OMRMachine.cpp +++ b/compiler/aarch64/codegen/OMRMachine.cpp @@ -32,7 +32,7 @@ OMR::ARM64::Machine::Machine(TR::CodeGenerator *cg) : OMR::Machine(cg, NUM_ARM64_GPR, NUM_ARM64_FPR) { _registerFile = (TR::RealRegister **)cg->trMemory()->allocateMemory(sizeof(TR::RealRegister *)*TR::RealRegister::NumRegisters, heapAlloc); - self()->initialiseRegisterFile(); + self()->initializeRegisterFile(); } TR::RealRegister *OMR::ARM64::Machine::findBestFreeRegister(TR_RegisterKinds rk, @@ -132,7 +132,7 @@ void OMR::ARM64::Machine::coerceRegisterAssignment(TR::Instruction *currentInstr TR_ASSERT(false, "Not implemented yet."); } -void OMR::ARM64::Machine::initialiseRegisterFile() +void OMR::ARM64::Machine::initializeRegisterFile() { _registerFile[TR::RealRegister::NoReg] = NULL; _registerFile[TR::RealRegister::SpilledReg] = NULL; diff --git a/compiler/aarch64/codegen/OMRMachine.hpp b/compiler/aarch64/codegen/OMRMachine.hpp index d45ee5b821c..eb26308e0b9 100644 --- a/compiler/aarch64/codegen/OMRMachine.hpp +++ b/compiler/aarch64/codegen/OMRMachine.hpp @@ -160,7 +160,7 @@ class OMR_EXTENSIBLE Machine : public OMR::Machine TR::RealRegister::RegState _registerStatesSnapShot[TR::RealRegister::NumRegisters]; TR::Register *_assignedRegisterSnapShot[TR::RealRegister::NumRegisters]; - void initialiseRegisterFile(); + void initializeRegisterFile(); }; } diff --git a/compiler/arm/codegen/OMRMachine.cpp b/compiler/arm/codegen/OMRMachine.cpp index 110564e65ad..3d9a6de8d86 100644 --- a/compiler/arm/codegen/OMRMachine.cpp +++ b/compiler/arm/codegen/OMRMachine.cpp @@ -45,7 +45,7 @@ static void registerCopy(TR::Instruction *precedingI, OMR::ARM::Machine::Machine(TR::CodeGenerator *cg): OMR::Machine(cg, NUM_ARM_GPR, NUM_ARM_FPR) { - self()->initialiseRegisterFile(); + self()->initializeRegisterFile(); } @@ -619,7 +619,7 @@ void OMR::ARM::Machine::coerceRegisterAssignment(TR::Instruction } -void OMR::ARM::Machine::initialiseRegisterFile() +void OMR::ARM::Machine::initializeRegisterFile() { self()->cg()->_unlatchedRegisterList = (TR::RealRegister**)self()->cg()->trMemory()->allocateHeapMemory(sizeof(TR::RealRegister*)*(TR::RealRegister::NumRegisters + 1)); diff --git a/compiler/arm/codegen/OMRMachine.hpp b/compiler/arm/codegen/OMRMachine.hpp index b6776a3bb56..de36b50bd42 100644 --- a/compiler/arm/codegen/OMRMachine.hpp +++ b/compiler/arm/codegen/OMRMachine.hpp @@ -67,7 +67,7 @@ class OMR_EXTENSIBLE Machine : public OMR::Machine static uint32_t _globalRegisterNumberToRealRegisterMap[MAX_ARM_GLOBAL_GPRS + MAX_ARM_GLOBAL_FPRS]; - void initialiseRegisterFile(); + void initializeRegisterFile(); // For register snap shot uint16_t _registerFlagsSnapShot[TR::RealRegister::NumRegisters]; diff --git a/compiler/codegen/OMRAheadOfTimeCompile.hpp b/compiler/codegen/OMRAheadOfTimeCompile.hpp index dae74e5f19f..ebab99fbc88 100644 --- a/compiler/codegen/OMRAheadOfTimeCompile.hpp +++ b/compiler/codegen/OMRAheadOfTimeCompile.hpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2016 IBM Corp. and others + * Copyright (c) 2000, 2018 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this @@ -81,7 +81,7 @@ class OMR_EXTENSIBLE AheadOfTimeCompile } virtual void processRelocations() = 0; - virtual uint8_t *initialiseAOTRelocationHeader(TR::IteratedExternalRelocation *relocation) = 0; + virtual uint8_t *initializeAOTRelocationHeader(TR::IteratedExternalRelocation *relocation) = 0; // virtual void dumpRelocationData() = 0; void dumpRelocationData() {} diff --git a/compiler/codegen/Relocation.cpp b/compiler/codegen/Relocation.cpp index f6d45c83d12..04bde1943c7 100644 --- a/compiler/codegen/Relocation.cpp +++ b/compiler/codegen/Relocation.cpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2016 IBM Corp. and others + * Copyright (c) 2000, 2018 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this @@ -480,10 +480,10 @@ TR::IteratedExternalRelocation::IteratedExternalRelocation(uint8_t *target, uint AOTcgDiag0(TR::comp(), "TR::IteratedExternalRelocation::IteratedExternalRelocation\n"); } -void TR::IteratedExternalRelocation::initialiseRelocation(TR::CodeGenerator *codeGen) +void TR::IteratedExternalRelocation::initializeRelocation(TR::CodeGenerator *codeGen) { - AOTcgDiag0(TR::comp(), "TR::IteratedExternalRelocation::initialiseRelocation\n"); - _relocationDataCursor = codeGen->getAheadOfTimeCompile()->initialiseAOTRelocationHeader(this); + AOTcgDiag0(TR::comp(), "TR::IteratedExternalRelocation::initializeRelocation\n"); + _relocationDataCursor = codeGen->getAheadOfTimeCompile()->initializeAOTRelocationHeader(this); } void TR::IteratedExternalRelocation::addRelocationEntry(uint32_t locationOffset) diff --git a/compiler/codegen/Relocation.hpp b/compiler/codegen/Relocation.hpp index 9aaf4dfa23e..b42c64862aa 100644 --- a/compiler/codegen/Relocation.hpp +++ b/compiler/codegen/Relocation.hpp @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2016 IBM Corp. and others + * Copyright (c) 2000, 2018 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this @@ -332,7 +332,7 @@ class IteratedExternalRelocation : public TR_Link MemoryMeter; diff --git a/compiler/il/OMRILOpCodesEnum.hpp b/compiler/il/OMRILOpCodesEnum.hpp index 3ca0e39d0c7..d73d5f0a974 100644 --- a/compiler/il/OMRILOpCodesEnum.hpp +++ b/compiler/il/OMRILOpCodesEnum.hpp @@ -38,7 +38,7 @@ FirstOMROp, - BadILOp = 0, // illegal op hopefully help with uninitialised nodes + BadILOp = 0, // illegal op hopefully help with uninitialized nodes aconst, // load address constant (zero value means NULL) iconst, // load integer constant (32-bit signed 2's complement) lconst, // load long integer constant (64-bit signed 2's complement) @@ -653,7 +653,7 @@ Case, // case nodes that are children of TR_switch. Uses the branchdestination and the int const field table, // tableswitch (child1 is the selector, child2 the default destination, subsequent children are the branch targets // (the last child may be a branch table address, use getCaseIndexUpperBound() when iterating over branch targets) - exceptionRangeFence, // (J9) SymbolReference is the aliasing effect, initialiser is where the code address gets put when binary is generated + exceptionRangeFence, // (J9) SymbolReference is the aliasing effect, initializer is where the code address gets put when binary is generated // used for delimiting function, try blocks, catch clauses, finally clauses, etc. dbgFence, // used to delimit code (stmts) for debug info. Has no symbol reference. NULLCHK, // Null check a pointer. child 1 is indirect reference. Symbolref indicates failure action/destination diff --git a/compiler/p/codegen/OMRMachine.cpp b/compiler/p/codegen/OMRMachine.cpp index 7c6bb1a9bba..1530585d817 100644 --- a/compiler/p/codegen/OMRMachine.cpp +++ b/compiler/p/codegen/OMRMachine.cpp @@ -143,7 +143,7 @@ numLockedFPRs(-1), numLockedVRFs(-1) { _registerFile = (TR::RealRegister **)cg->trMemory()->allocateMemory(sizeof(TR::RealRegister *)*TR::RealRegister::NumRegisters, heapAlloc); - self()->initialiseRegisterFile(); + self()->initializeRegisterFile(); memset( _registerAssociations, 0, sizeof(TR::Register*)*TR::RealRegister::NumRegisters ); } @@ -1318,7 +1318,7 @@ void OMR::Power::Machine::coerceRegisterAssignment(TR::Instruction } -void OMR::Power::Machine::initialiseRegisterFile() +void OMR::Power::Machine::initializeRegisterFile() { _registerFile[TR::RealRegister::NoReg] = NULL; diff --git a/compiler/p/codegen/OMRMachine.hpp b/compiler/p/codegen/OMRMachine.hpp index 542c8ed4b03..d15548be065 100644 --- a/compiler/p/codegen/OMRMachine.hpp +++ b/compiler/p/codegen/OMRMachine.hpp @@ -65,7 +65,7 @@ class OMR_EXTENSIBLE Machine : public OMR::Machine TR::RealRegister **_registerFile; TR::Register *_registerAssociations[TR::RealRegister::NumRegisters]; - void initialiseRegisterFile(); + void initializeRegisterFile(); int _4thLastGPRAssigned; int _3rdLastGPRAssigned; diff --git a/compiler/x/codegen/OMRCodeGenerator.cpp b/compiler/x/codegen/OMRCodeGenerator.cpp index 9b01724badb..544df0cf18e 100644 --- a/compiler/x/codegen/OMRCodeGenerator.cpp +++ b/compiler/x/codegen/OMRCodeGenerator.cpp @@ -324,7 +324,7 @@ OMR::X86::CodeGenerator::initialize(TR::Compilation *comp) self()->setGlobalRegisterTable(self()->machine()->getGlobalRegisterTable(*_linkageProperties)); - self()->machine()->initialiseRegisterFile(*_linkageProperties); + self()->machine()->initializeRegisterFile(*_linkageProperties); self()->getLinkage()->copyLinkageInfoToParameterSymbols(); diff --git a/compiler/x/codegen/OMRMachine.cpp b/compiler/x/codegen/OMRMachine.cpp index f68f568fa87..34afdb13467 100644 --- a/compiler/x/codegen/OMRMachine.cpp +++ b/compiler/x/codegen/OMRMachine.cpp @@ -192,7 +192,7 @@ OMR::X86::Machine::Machine _globalRegisterNumberToRealRegisterMap(globalRegisterNumberToRealRegisterMap), _spilledRegistersList(NULL) { - self()->initialiseFPStackRegisterFile(); + self()->initializeFPStackRegisterFile(); _fpTopOfStack = TR_X86FPStackRegister::fpStackEmpty; self()->resetFPStackRegisters(); self()->resetXMMGlobalRegisters(); @@ -1580,7 +1580,7 @@ OMR::X86::Machine::createRegisterAssociationDirective(TR::Instruction *cursor) #define UNUSED_WEIGHT 0xFFFF void -OMR::X86::Machine::initialiseRegisterFile(const struct TR::X86LinkageProperties &properties) +OMR::X86::Machine::initializeRegisterFile(const struct TR::X86LinkageProperties &properties) { int reg; @@ -2372,7 +2372,7 @@ void OMR::X86::Machine::resetFPStackRegisters() } -void OMR::X86::Machine::initialiseFPStackRegisterFile() +void OMR::X86::Machine::initializeFPStackRegisterFile() { _fpStack[TR_X86FPStackRegister::fp0] = new (self()->cg()->trHeapMemory()) TR_X86FPStackRegister(TR_X86FPStackRegister::Free, TR_X86FPStackRegister::fp0, diff --git a/compiler/x/codegen/OMRMachine.hpp b/compiler/x/codegen/OMRMachine.hpp index 8bf210087c8..d7fdc2f3629 100644 --- a/compiler/x/codegen/OMRMachine.hpp +++ b/compiler/x/codegen/OMRMachine.hpp @@ -123,7 +123,7 @@ class OMR_EXTENSIBLE Machine : public OMR::Machine int32_t _fpStackShape[TR_X86FPStackRegister::NumRegisters]; int32_t _fpTopOfStack; - void initialiseFPStackRegisterFile(); + void initializeFPStackRegisterFile(); protected: @@ -131,7 +131,7 @@ class OMR_EXTENSIBLE Machine : public OMR::Machine public: - void initialiseRegisterFile(const struct TR::X86LinkageProperties&); + void initializeRegisterFile(const struct TR::X86LinkageProperties&); uint32_t* getGlobalRegisterTable(const struct TR::X86LinkageProperties&); int32_t getGlobalReg(TR::RealRegister::RegNum reg); diff --git a/compiler/x/codegen/OMRTreeEvaluator.cpp b/compiler/x/codegen/OMRTreeEvaluator.cpp index 3804efd7d37..68aec54b51c 100644 --- a/compiler/x/codegen/OMRTreeEvaluator.cpp +++ b/compiler/x/codegen/OMRTreeEvaluator.cpp @@ -3448,7 +3448,7 @@ TR::Register *OMR::X86::TreeEvaluator::BBEndEvaluator(TR::Node *node, TR::CodeGe { // We need to record the final state of the register associations at the end // of each extended basic block so that the register states and weights - // are initialised properly at the bottom of the block by the GP register + // are initialized properly at the bottom of the block by the GP register // assigner. // TR::Machine *machine = cg->machine(); diff --git a/compiler/z/codegen/OMRMachine.cpp b/compiler/z/codegen/OMRMachine.cpp index 5d998def85f..641be65ac15 100644 --- a/compiler/z/codegen/OMRMachine.cpp +++ b/compiler/z/codegen/OMRMachine.cpp @@ -733,7 +733,7 @@ OMR::Z::Machine::Machine(TR::CodeGenerator * cg) _globalReturnAddressRegisterNumber(-1),_globalEntryPointRegisterNumber(-1) ,_lastGlobalHPRRegisterNumber(-1), _firstGlobalHPRRegisterNumber(-1) { - self()->initialiseRegisterFile(); + self()->initializeRegisterFile(); self()->initializeFPRegPairTable(); self()->clearRegisterAssociations(); } @@ -6027,10 +6027,10 @@ uint64_t OMR::Z::Machine::filterColouredRegisterConflicts(TR::Register *targetRe //////////////////////////////////////////////////////////////////////////////// -// OMR::Z::Machine::initialiseRegisterFile +// OMR::Z::Machine::initializeRegisterFile //////////////////////////////////////////////////////////////////////////////// void -OMR::Z::Machine::initialiseRegisterFile() +OMR::Z::Machine::initializeRegisterFile() { // Initialize GPRs diff --git a/compiler/z/codegen/OMRMachine.hpp b/compiler/z/codegen/OMRMachine.hpp index 85dc3af8d92..cdc99f87628 100644 --- a/compiler/z/codegen/OMRMachine.hpp +++ b/compiler/z/codegen/OMRMachine.hpp @@ -228,7 +228,7 @@ class OMR_EXTENSIBLE Machine : public OMR::Machine TR_GlobalRegisterNumber _globalEntryPointRegisterNumber; TR_GlobalRegisterNumber _globalReturnAddressRegisterNumber; - void initialiseRegisterFile(); + void initializeRegisterFile(); void initializeFPRegPairTable(); public: diff --git a/compiler/z/codegen/OMRTreeEvaluator.cpp b/compiler/z/codegen/OMRTreeEvaluator.cpp index fc60f3b9d46..90de500e61c 100644 --- a/compiler/z/codegen/OMRTreeEvaluator.cpp +++ b/compiler/z/codegen/OMRTreeEvaluator.cpp @@ -11558,7 +11558,7 @@ OMR::Z::TreeEvaluator::fenceEvaluator(TR::Node * node, TR::CodeGenerator *cg) } /** - * exceptionRangeFenceEvaluator - SymbolReference is the aliasing effect, initialiser is where the + * exceptionRangeFenceEvaluator - SymbolReference is the aliasing effect, initializer is where the * code address gets put when binary is generated */ TR::Register * diff --git a/doc/ValgrindMemcheckAPI.md b/doc/ValgrindMemcheckAPI.md index c7e37469b6f..e1552d385d0 100644 --- a/doc/ValgrindMemcheckAPI.md +++ b/doc/ValgrindMemcheckAPI.md @@ -1,5 +1,5 @@