Home
last modified time | relevance | path

Searched refs:op0 (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
H A Dgc_utils.h65 auto op0 = llvm::dyn_cast<llvm::Constant>(cmp->getOperand(0)); in IsNullCmp() local
67 return (op0 != nullptr && op0->isNullValue()) || (op1 != nullptr && op1->isNullValue()); in IsNullCmp()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
H A Dintrinsics_lowering.cpp112 llvm::Value *op0 = call->getOperand(DEST); in HandleMemCall() local
116 ASSERT(op0->getType()->isPointerTy()); in HandleMemCall()
117 if (op0->getType() != callee.getFunctionType()->getParamType(DEST)) { in HandleMemCall()
118 op0 = builder.CreateAddrSpaceCast(op0, callee.getFunctionType()->getParamType(DEST)); in HandleMemCall()
131 auto newCall = llvm::CallInst::Create(callee, {op0, op1, op2}); in HandleMemCall()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dcgfunc.cpp337 * bgt (cmp (op0, op1), 0) ==> in HandleCondbr()
338 * bgt (op0, op1) in HandleCondbr()
339 * but skip the case cmp(op0, 0) in HandleCondbr()
341 BaseNode *op0 = condNode->Opnd(0); in HandleCondbr() local
342 DEBUG_ASSERT(op0 != nullptr, "get first opnd of a condNode failed"); in HandleCondbr()
345 if ((op0->GetOpCode() == OP_cmp) && (op1->GetOpCode() == OP_constval)) { in HandleCondbr()
348 auto *cmpNode = static_cast<CompareNode *>(op0); in HandleCondbr()
357 cgFunc.SelectCondSpecialCase1(condGotoNode, *op0); in HandleCondbr()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dgraph_checker.cpp2393 [[maybe_unused]] auto op0 = inst->GetInput(0).GetInst(); in CheckUserOfInt32() local
2411 DataType::GetCommonType(op0->GetType()) == DataType::INT64 || in CheckUserOfInt32()
2412 IsFloatType(DataType::GetCommonType(op0->GetType())) || op0->GetType() == DataType::REFERENCE || in CheckUserOfInt32()
2413 op0->GetType() == DataType::ANY, in CheckUserOfInt32()
2425 v, CheckCommonTypes(op0, op1), in CheckUserOfInt32()
2426 (std::cerr << "Types of two first select instruction operands are not compatible\n", op0->Dump(&std::cerr), in CheckUserOfInt32()
2429 v, CheckCommonTypes(inst, op0), in CheckUserOfInt32()
2485 [[maybe_unused]] auto op0 = inst->GetInput(0).GetInst(); in CheckUserOfInt32() local
2501 DataType::GetCommonType(op0 in CheckUserOfInt32()
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dbounds_analysis.cpp882 auto op0 = compare->GetInput(0).GetInst(); in VisitIfImm() local
884 if ((DataType::GetCommonType(op0->GetType()) != DataType::INT64 && op0->GetType() != DataType::REFERENCE) || in VisitIfImm()
904 CalcNewBoundsRangeForCompare(v, block, cc, {op0, op1}, trueBlock); in VisitIfImm()
905 CalcNewBoundsRangeForCompare(v, block, GetInverseConditionCode(cc), {op0, op1}, falseBlock); in VisitIfImm()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dpeepholes.cpp1232 auto op0 = input->GetInput(0).GetInst(); in VisitCastCase3() local
1233 if (graph->IsBytecodeOptimizer() && !IsCastAllowedInBytecode(op0)) { in VisitCastCase3()
1242 if (SkipThisPeepholeInOSR(inst, op0)) { in VisitCastCase3()
1245 inst->SetInput(0, op0); in VisitCastCase3()
1246 inst->CastToCast()->SetOperandsType(op0->GetType()); in VisitCastCase3()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/
H A Dencode.cpp2917 Reg op0 = swap ? src1 : src0; in CompareHelper() local
2920 GetMasm()->Cmp(VixlReg(op0), VixlReg(op1)); in CompareHelper()
2921 GetMasm()->Sbcs(VixlReg(tmpReg), VixlRegU(op0), VixlRegU(op1)); in CompareHelper()

Completed in 19 milliseconds