Searched refs:IsConst (Results 1 – 17 of 17) sorted by relevance
/arkcompiler/runtime_core/libpandabase/utils/ |
D | bit_vector.h | 29 template <bool IsConst> 34 template <bool IsConst> 35 inline void fill(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, b… 94 template <bool IsConst> 96 using WordType = std::conditional_t<IsConst, const uint32_t, uint32_t>; 97 using Reference = std::conditional_t<IsConst, bool, BitReference>; 98 using Pointer = std::conditional_t<IsConst, const bool *, BitReference *>; 142 if constexpr (IsConst) { // NOLINT(readability-braces-around-statements) 235 friend class BitVectorIterator<!IsConst>; 633 template <bool IsConst> [all …]
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | reg_acc_alloc.cpp | 204 if (inst->IsConst()) { in RunImpl() 209 if (inst->IsConst()) { in RunImpl() 248 } else if (inst->IsConst()) { in RunImpl() 275 if (input->IsConst()) { in RunImpl()
|
D | codegen.cpp | 362 if (!cvat_inst->GetInput(0).GetInst()->IsConst()) { in IsEcmaConstTemplate() 526 ASSERT(cvat->GetInput(0).GetInst()->IsConst()); in VisitCastValueToAnyType() 532 ASSERT(cvat->GetInput(0).GetInst()->IsConst()); in VisitCastValueToAnyType()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | lowering.cpp | 48 if (in0->IsConst()) { in BetterToSwapCompareInputs() 49 if (in1->IsConst()) { in BetterToSwapCompareInputs() 117 if (cst->IsConst() && ConstantFitsCompareImm(cst, size, cc)) { in LowerIf()
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsAsExpression.h | 58 bool IsConst() const in IsConst() function
|
D | tsEnumDeclaration.h | 80 bool IsConst() const in IsConst() function
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
D | inst_builder-inl.h | 68 if (input->IsConst() && !DataType::IsFloatType(type)) { in BuildCastToAnyNumber()
|
D | phi_resolver.h | 183 if (input_inst->IsConst() && input_type == DataType::INT64) { in CheckPhiInputs()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | reg_alloc_resolver.cpp | 194 if (input_inst->IsConst() || !IsTypeCollectable(input_inst->GetType())) { in FillSaveStateRootsMask() 249 ASSERT(inst->IsConst() || inst->IsPhi() || inst->IsParameter()); in ResolveOutput()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | graph_checker.cpp | 617 return inst->IsConst(); in IsObjectCheckDisabledForOpcode() 780 if (op1->IsConst()) { in VisitIf() 787 if (op2->IsConst()) { in VisitIf() 810 if (op1->IsConst()) { in VisitIfImm()
|
D | inst.cpp | 498 if (IsConst()) { in IsAccWrite()
|
D | inst.h | 1258 bool IsConst() const in IsConst() function 2130 ASSERT(IsConst()); in IsBoolConst() 2289 …return inst->IsConst() && inst->GetType() == DataType::INT64 && inst->CastToConstant()->GetIntValu… in IsZeroConstant()
|
D | ir_constructor.h | 937 if (!input_inst->IsConst() && in ConstructDataFlow()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | declaration.h | 174 bool IsConst() const in IsConst() function
|
/arkcompiler/runtime_core/compiler/docs/ |
D | lowering_doc.md | 32 if (!inst->GetInput(1)->IsConst()) {
|
/arkcompiler/runtime_core/compiler/tests/ |
D | split_resolver_test.cpp | 56 ASSERT(source->GetInst()->IsConst()); in SplitAssignImmSlot()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | parserImpl.cpp | 3168 (isConst ^ res->Declaration()->AsEnumLiteralDecl()->IsConst())) { in ParseEnumDeclaration()
|