/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
D | x64_peep.cpp | 38 bool X64CGPeepHole::DoSSAOptimize(BB &bb, Insn &insn) in DoSSAOptimize() 44 bool RemoveMovingtoSameRegPattern::CheckCondition(Insn &insn) in CheckCondition() 57 void RemoveMovingtoSameRegPattern::Run(BB &bb, Insn &insn) in Run() 65 void X64CGPeepHole::DoNormalOptimize(BB &bb, Insn &insn) in DoNormalOptimize()
|
D | x64_standardize.cpp | 37 void X64Standardize::StdzMov(maplebe::Insn &insn) in StdzMov() 44 void X64Standardize::StdzStrLdr(Insn &insn) in StdzStrLdr() 49 void X64Standardize::StdzBasicOp(Insn &insn) in StdzBasicOp() 59 void X64Standardize::StdzUnaryOp(Insn &insn, CGFunc &cgFunc) in StdzUnaryOp() 73 void X64Standardize::StdzCvtOp(Insn &insn, CGFunc &cgFunc) in StdzCvtOp() 123 void X64Standardize::StdzFloatingNeg(Insn &insn, CGFunc &cgFunc) in StdzFloatingNeg() 166 void X64Standardize::StdzShiftOp(Insn &insn, CGFunc &cgFunc) in StdzShiftOp()
|
D | x64_local_opt.cpp | 29 bool CopyRegProp::CheckCondition(Insn &insn) in CheckCondition() 49 void CopyRegProp::Optimize(BB &bb, Insn &insn) in Optimize() 74 bool CopyRegProp::propagateOperand(Insn &insn, RegOperand &oldOpnd, RegOperand &replaceOpnd) in propagateOperand() 106 void X64RedundantDefRemove::Optimize(BB &bb, Insn &insn) in Optimize()
|
D | x64_reaching.cpp | 32 …for (Insn *insn = startInsn; insn != nullptr && insn != endInsn->GetNext(); insn = insn->GetNext()… in FindRegUseBetweenInsn() local 138 InsnSet X64ReachingDefinition::FindDefForRegOpnd(Insn &insn, uint32 indexOrRegNO, bool isRegNO) con… in FindDefForRegOpnd() 144 InsnSet X64ReachingDefinition::FindDefForMemOpnd(Insn &insn, uint32 indexOrOffset, bool isOffset) c… in FindDefForMemOpnd() 150 InsnSet X64ReachingDefinition::FindUseForMemOpnd(Insn &insn, uint8 index, bool secondMem) const in FindUseForMemOpnd() 180 void X64ReachingDefinition::GenAllAsmDefRegs(BB &bb, Insn &insn, uint32 index) in GenAllAsmDefRegs() 186 void X64ReachingDefinition::GenAllAsmUseRegs(BB &bb, Insn &insn, uint32 index) in GenAllAsmUseRegs() 192 void X64ReachingDefinition::GenAllCallerSavedRegs(BB &bb, Insn &insn) in GenAllCallerSavedRegs() 256 bool X64ReachingDefinition::IsRegKilledByCallInsn(const Insn &insn, regno_t regNO) const in IsRegKilledByCallInsn() argument
|
D | x64_cfgo.cpp | 34 uint32 X64FlipBRPattern::GetJumpTargetIdx(const Insn &insn) in GetJumpTargetIdx()
|
D | x64_isa.cpp | 50 uint32 GetJumpTargetIdx(const Insn &insn) in GetJumpTargetIdx()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
D | aarch64_dependence.cpp | 81 void AArch64DepAnalysis::AppendRegUseList(Insn &insn, regno_t regNO) in AppendRegUseList() 138 void AArch64DepAnalysis::AddDependence4InsnInVectorByType(MapleVector<Insn *> &insns, Insn &insn, c… in AddDependence4InsnInVectorByType() 145 … AArch64DepAnalysis::AddDependence4InsnInVectorByTypeAndCmp(MapleVector<Insn *> &insns, Insn &insn, in AddDependence4InsnInVectorByTypeAndCmp() 156 void AArch64DepAnalysis::RemoveSelfDeps(Insn &insn) in RemoveSelfDeps() 166 void AArch64DepAnalysis::BuildDepsUseReg(Insn &insn, regno_t regNO) in BuildDepsUseReg() 177 void AArch64DepAnalysis::BuildDepsDefReg(Insn &insn, regno_t regNO) in BuildDepsDefReg() 221 Insn &insn = cgFunc.GetInsnBuilder()->BuildInsn<AArch64CG>(MOP_pseudo_none); in ClearDepNodeInfo() local 347 void AArch64DepAnalysis::BuildDepsAmbiInsn(Insn &insn) in BuildDepsAmbiInsn() 354 void AArch64DepAnalysis::BuildDepsMayThrowInsn(Insn &insn) in BuildDepsMayThrowInsn() 377 MemOperand *AArch64DepAnalysis::GetNextMemOperand(const Insn &insn, const MemOperand &aarchMemOpnd)… in GetNextMemOperand() argument [all …]
|
D | aarch64_global.cpp | 92 bool OptimizePattern::OpndDefByZero(Insn &insn, int32 useIdx) const in OpndDefByZero() 113 bool OptimizePattern::OpndDefByOne(Insn &insn, int32 useIdx) const in OpndDefByOne() 133 bool OptimizePattern::OpndDefByOneOrZero(Insn &insn, int32 useIdx) const in OpndDefByOneOrZero() 153 bool OptimizePattern::InsnDefOne(const Insn &insn) in InsnDefOne() 174 bool OptimizePattern::InsnDefZero(const Insn &insn) in InsnDefZero() 198 bool OptimizePattern::InsnDefOneOrZero(const Insn &insn) in InsnDefOneOrZero() 239 void ReplaceAsmListReg(const Insn *insn, uint32 index, uint32 regNO, Operand *newOpnd) in ReplaceAsmListReg() 306 bool ForwardPropPattern::CheckCondition(Insn &insn) in CheckCondition() 362 void ForwardPropPattern::Optimize(Insn &insn) in Optimize() 420 void ForwardPropPattern::RemoveMopUxtwToMov(Insn &insn) in RemoveMopUxtwToMov() [all …]
|
D | aarch64_peep.cpp | 40 const std::string GetReadBarrierName(const Insn &insn) in GetReadBarrierName() 95 bool AArch64CGPeepHole::DoSSAOptimize(BB &bb, Insn &insn) in DoSSAOptimize() 227 bool ContinuousCmpCsetPattern::CheckCondition(Insn &insn) in CheckCondition() 279 void ContinuousCmpCsetPattern::Run(BB &bb, Insn &insn) in Run() 342 bool NegCmpToCmnPattern::CheckCondition(Insn &insn) in CheckCondition() 384 void NegCmpToCmnPattern::Run(BB &bb, Insn &insn) in Run() 418 bool CsetCbzToBeqPattern::CheckCondition(Insn &insn) in CheckCondition() 478 void CsetCbzToBeqPattern::Run(BB &bb, Insn &insn) in Run() 503 bool ExtLslToBitFieldInsertPattern::CheckCondition(Insn &insn) in CheckCondition() 521 void ExtLslToBitFieldInsertPattern::Run(BB &bb, Insn &insn) in Run() [all …]
|
D | aarch64_optimize_common.cpp | 26 for (Insn *insn = bb.GetLastInsn(); insn != nullptr; insn = insn->GetPrev()) { in ModifyJumpTarget() local 38 for (Insn *insn = bb.GetLastInsn(); insn != nullptr; insn = insn->GetPrev()) { in ModifyJumpTarget() local 68 auto *insn = memPool->Clone<VectorInsn>(*static_cast<VectorInsn *>(&originalInsn)); in CloneInsn() local
|
D | aarch64_reg_coalesce.cpp | 69 void AArch64LiveIntervalAnalysis::SetupLiveIntervalByOp(Operand &op, Insn &insn, bool isDef) in SetupLiveIntervalByOp() 95 void AArch64LiveIntervalAnalysis::ComputeLiveIntervalsForEachDefOperand(Insn &insn) in ComputeLiveIntervalsForEachDefOperand() 124 void AArch64LiveIntervalAnalysis::ComputeLiveIntervalsForEachUseOperand(Insn &insn) in ComputeLiveIntervalsForEachUseOperand() 217 bool AArch64LiveIntervalAnalysis::IsRegistersCopy(Insn &insn) in IsRegistersCopy() 330 for (auto insn : lrDest->GetDefPoint()) { in CoalesceRegPair() local 333 for (auto insn : lrDest->GetUsePoint()) { in CoalesceRegPair() local 367 for (auto insn : movInsns) { in CoalesceMoves() local
|
D | aarch64_validbit_opt.cpp | 20 void AArch64ValidBitOpt::DoOpt(BB &bb, Insn &insn) in DoOpt() 53 void AArch64ValidBitOpt::SetValidBits(Insn &insn) in SetValidBits() 178 bool AArch64ValidBitOpt::SetPhiValidBits(Insn &insn) in SetPhiValidBits() 219 bool AndValidBitPattern::CheckCondition(Insn &insn) in CheckCondition() 265 void AndValidBitPattern::Run(BB &bb, Insn &insn) in Run() 285 bool ExtValidBitPattern::CheckCondition(Insn &insn) in CheckCondition() 334 void ExtValidBitPattern::Run(BB &bb, Insn &insn) in Run() 537 bool CmpBranchesPattern::CheckCondition(Insn &insn) in CheckCondition() 567 void CmpBranchesPattern::Run(BB &bb, Insn &insn) in Run()
|
D | aarch64_ebo.cpp | 136 static bool IsYieldPoint(Insn &insn) in IsYieldPoint() 210 bool AArch64Ebo::IsSameRedefine(BB &bb, Insn &insn, OpndInfo &opndInfo) const in IsSameRedefine() 275 Insn *insn = insnInfo.insn; in DefineClinitSpecialRegisters() local 314 Insn *insn = insnInfo.insn; in DefineAsmRegisters() local 337 Insn *insn = insnInfo.insn; in DefineCallerSaveRegisters() local 372 void AArch64Ebo::DefineReturnUseRegister(Insn &insn) in DefineReturnUseRegister() 397 void AArch64Ebo::DefineCallUseSpecialRegister(Insn &insn) in DefineCallUseSpecialRegister() 484 bool AArch64Ebo::DoConstProp(Insn &insn, uint32 idx, Operand &opnd) in DoConstProp() 566 bool AArch64Ebo::Csel2Cset(Insn &insn, const MapleVector<Operand *> &opnds) in Csel2Cset() 630 bool AArch64Ebo::SimplifyConstOperand(Insn &insn, const MapleVector<Operand *> &opnds, in SimplifyConstOperand() [all …]
|
D | aarch64_reaching.cpp | 194 void AArch64ReachingDefinition::GenAllAsmDefRegs(BB &bb, Insn &insn, uint32 index) in GenAllAsmDefRegs() 201 void AArch64ReachingDefinition::GenAllAsmUseRegs(BB &bb, Insn &insn, uint32 index) in GenAllAsmUseRegs() 209 void AArch64ReachingDefinition::GenAllCallerSavedRegs(BB &bb, Insn &insn) in GenAllCallerSavedRegs() 227 bool AArch64ReachingDefinition::IsRegKilledByCallInsn(const Insn &insn, regno_t regNO) const in IsRegKilledByCallInsn() argument 243 for (const Insn *insn = &startInsn; insn != endInsn.GetNext(); insn = insn->GetNext()) { in KilledByCallBetweenInsnInSameBB() local 311 static bool IsRegInAsmList(Insn *insn, uint32 index, uint32 regNO, InsnSet &insnSet) in IsRegInAsmList() 380 …for (Insn *insn = endInsn; insn != nullptr && insn != startInsn->GetPrev(); insn = insn->GetPrev()… in FindMemDefBetweenInsn() local 582 InsnSet AArch64ReachingDefinition::FindDefForRegOpnd(Insn &insn, uint32 indexOrRegNO, bool isRegNO)… in FindDefForRegOpnd() 779 …for (Insn *insn = startInsn; insn != nullptr && insn != endInsn->GetNext(); insn = insn->GetNext()… in FindRegUsingBetweenInsn() local 847 …for (Insn *insn = startInsn; insn != nullptr && insn != endInsn->GetNext(); insn = insn->GetNext()… in FindRegUseBetweenInsn() local [all …]
|
D | aarch64_cfgo.cpp | 30 uint32 AArch64FlipBRPattern::GetJumpTargetIdx(const Insn &insn) in GetJumpTargetIdx()
|
D | aarch64_offset_adjust.cpp | 131 void AArch64FPLROffsetAdjustment::AdjustMemBaseReg(Insn &insn, uint32 i, bool &replaceFP) const in AdjustMemBaseReg() 157 void AArch64FPLROffsetAdjustment::AdjustMemOfstVary(Insn &insn, uint32 i) const in AdjustMemOfstVary() 178 void AArch64FPLROffsetAdjustment::AdjustmentOffsetForImmOpnd(Insn &insn, uint32 index) const in AdjustmentOffsetForImmOpnd()
|
D | aarch64_prop.cpp | 77 void AArch64Prop::TargetProp(Insn &insn) in TargetProp() 660 MemOperand *A64StrLdrProp::StrLdrPropPreCheck(const Insn &insn, MemPropMode prevMod) in StrLdrPropPreCheck() 939 bool A64StrLdrProp::CheckNewMemOffset(const Insn &insn, MemOperand *newMemOpnd, uint32 opndIdx) con… in CheckNewMemOffset() argument 1294 void ExtendShiftPattern::Optimize(Insn &insn) in Optimize() 1316 void ExtendShiftPattern::DoExtendShiftOpt(Insn &insn) in DoExtendShiftOpt() 1327 void ExtendShiftPattern::SwapOpnd(Insn &insn) in SwapOpnd() 1338 bool ExtendShiftPattern::CheckAllOpndCondition(Insn &insn) in CheckAllOpndCondition() 1365 bool ExtendShiftPattern::CheckCondition(Insn &insn) in CheckCondition() 1471 Insn *insn = defInfo->GetInsn(); in CheckSrcReg() local 1539 bool ExtendMovPattern::BitNotAffected(const Insn &insn, uint32 validNum) in BitNotAffected() [all …]
|
/arkcompiler/runtime_core/static_core/runtime/templates/ |
D | bridge_helpers_static.rb | 14 def get_insn_type(insn) argument 18 def get_format_for(insn) argument
|
D | bridge_helpers_dynamic.rb | 14 def check_N_v8_format(insn) argument 20 def get_format_for(insn) argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
D | aarch64_obj_emitter.h | 50 void EncodeInstruction(const Insn &insn, const std::vector<uint32> &label2Offset, in EncodeInstruction() 65 uint32 GetInsnSize(const Insn &insn) const override in GetInsnSize() 190 Insn &insn = objFuncEmitInfo.GetCGFunc().GetInsnBuilder()->BuildInsn(mOp, opnd1); in EmitInsn() local 197 Insn &insn = objFuncEmitInfo.GetCGFunc().GetInsnBuilder()->BuildInsn(mOp, opnd1, opnd2); in EmitInsn() local 204 … Insn &insn = objFuncEmitInfo.GetCGFunc().GetInsnBuilder()->BuildInsn(mOp, opnd1, opnd2, opnd3); in EmitInsn() local
|
/arkcompiler/runtime_core/static_core/runtime/interpreter/ |
D | vregister_iterator.h | 24 …explicit VRegisterIterator(BytecodeInstruction insn, Frame *frame) : instn_(std::move(insn)), fram… in VRegisterIterator() 79 …explicit DimIterator(BytecodeInstruction insn, Frame *frame) : VRegisterIterator<FORMAT>(std::move… in DimIterator()
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | assemblyInsProto.cpp | 19 void Ins::Serialize(const panda::pandasm::Ins &insn, protoPanda::Ins &protoInsn) in Serialize() 47 void Ins::Deserialize(const protoPanda::Ins &protoInsn, panda::pandasm::Ins &insn) in Deserialize()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
D | ebo.cpp | 48 Insn *insn = insnInfo.insn; in GetMemInfo() local 168 …ardPropCheck(const Operand *opndReplace, const OpndInfo &opndInfo, const Operand &opnd, Insn &insn) in ForwardPropCheck() 194 bool Ebo::RegForwardCheck(Insn &insn, const Operand &opnd, const Operand *opndReplace, Operand &old… in RegForwardCheck() 323 OpndInfo *Ebo::GetNewOpndInfo(BB &bb, Insn *insn, Operand &opnd, int32 hashVal) in GetNewOpndInfo() 385 InsnInfo *Ebo::GetNewInsnInfo(Insn &insn) in GetNewInsnInfo() 399 uint32 Ebo::ComputeHashVal(Insn &insn, const MapleVector<OpndInfo *> &opndInfos) const in ComputeHashVal() 428 void Ebo::HashInsn(Insn &insn, const MapleVector<OpndInfo *> &origInfo, const MapleVector<OpndInfo … in HashInsn() 499 OpndInfo *Ebo::BuildMemOpndInfo(BB &bb, Insn &insn, Operand &opnd, uint32 opndIndex) in BuildMemOpndInfo() 550 OpndInfo *Ebo::BuildOperandInfo(BB &bb, Insn &insn, Operand &opnd, uint32 opndIndex, MapleVector<Op… in BuildOperandInfo() 584 bool Ebo::ForwardPropagateOpnd(Insn &insn, Operand *&opnd, uint32 opndIndex, OpndInfo *&opndInfo, in ForwardPropagateOpnd() [all …]
|
D | cgbb.cpp | 58 void BB::ReplaceInsn(Insn &insn, Insn &newInsn) in ReplaceInsn() 82 void BB::RemoveInsn(Insn &insn) in RemoveInsn() 102 void BB::RemoveInsnPair(Insn &insn, const Insn &nextInsn) in RemoveInsnPair() 122 void BB::RemoveInsnSequence(Insn &insn, const Insn &nextInsn) in RemoveInsnSequence() 321 Insn *insn = firstInsn; in Dump() local
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
D | peep.h | 28 …PeepOptimizeManager(CGFunc &f, BB &bb, Insn &insn) : cgFunc(&f), currBB(&bb), currInsn(&insn), ssa… in PeepOptimizeManager() 30 PeepOptimizeManager(CGFunc &f, BB &bb, Insn &insn, CGSSAInfo &info) in PeepOptimizeManager() 112 …CGPeepPattern(CGFunc &f, BB &bb, Insn &insn) : cgFunc(&f), currBB(&bb), currInsn(&insn), ssaInfo(n… in CGPeepPattern() 114 CGPeepPattern(CGFunc &f, BB &bb, Insn &insn, CGSSAInfo &info) in CGPeepPattern()
|