Home
last modified time | relevance | path

Searched refs:falseWeight (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dmcr_gate_meta_data.h333 static uint64_t ToValue(uint32_t trueWeight, uint32_t falseWeight) in ToValue() argument
336 | FalseWeightBits::Encode(falseWeight); in ToValue()
H A Dnumber_speculative_lowering.cpp461 uint32_t falseWeight = jumpAcc.GetFalseWeight(); in VisitBooleanJump() local
463 std::swap(trueWeight, falseWeight); in VisitBooleanJump()
466 GateRef ifBranch = builder_.Branch(acc_.GetState(gate), condition, trueWeight, falseWeight, "booleanJump"); in VisitBooleanJump()
H A Dcircuit_builder.cpp87 GateRef CircuitBuilder::Branch(GateRef state, GateRef condition, uint32_t trueWeight, uint32_t falseWeight, in Branch() argument
90 auto value = BranchAccessor::ToValue(trueWeight, falseWeight); in Branch()
248 uint32_t trueWeight, uint32_t falseWeight, const char* comment) in Branch()
252 GateRef ifBranch = Branch(currentControl, condition, trueWeight, falseWeight, comment); in Branch()
247 Branch(GateRef condition, Label *trueLabel, Label *falseLabel, uint32_t trueWeight, uint32_t falseWeight, const char* comment) Branch() argument
H A Dcircuit_builder.h360 uint32_t trueWeight = 1, uint32_t falseWeight = 1, const char* comment = nullptr);
H A Dstub_builder.h174 uint32_t trueWeight = BranchWeight::ONE_WEIGHT, uint32_t falseWeight = BranchWeight::ONE_WEIGHT,
H A Dstub_builder.cpp67 uint32_t falseWeight, const char *comment) in BranchPredict()
71 GateRef ifBranch = env_->GetBuilder()->Branch(currentControl, condition, trueWeight, falseWeight, comment); in BranchPredict()
66 BranchPredict(GateRef condition, Label *trueLabel, Label *falseLabel, uint32_t trueWeight, uint32_t falseWeight, const char *comment) BranchPredict() argument
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
H A Dpgo_profiler_test.cpp889 auto falseWeight = sampleType.GetWeight() & 0x7FF; in HWTEST_F_L0()
891 ASSERT_GT(trueWeight, falseWeight); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/
H A Dlitecg_ir_builder.cpp1153 uint32_t falseWeight = 0; in VisitBranch() local
1156 falseWeight = acc_.GetFalseWeight(gate); in VisitBranch()
1164 if (trueWeight < falseWeight) { in VisitBranch()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.cpp1517 auto falseWeight = acc_.GetFalseWeight(gate); in VisitBranch() local
1520 LLVMMetadataRef weight2 = LLVMValueAsMetadata(LLVMConstInt(LLVMIntType(32), falseWeight, 0)); in VisitBranch()

Completed in 38 milliseconds