Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 38) sorted by relevance

12

/art/compiler/optimizing/
Dnodes_shared.h30 InstructionKind op,
36 op_kind_(op) { in HExpression()
68 InstructionKind op,
78 op_kind_(op) { in HBinaryOperation()
79 DCHECK(op == HInstruction::kAnd || op == HInstruction::kOr || op == HInstruction::kXor) << op; in HBinaryOperation()
200 OpKind op,
206 instr_kind_(instr->GetKind()), op_kind_(op),
251 friend std::ostream& operator<<(std::ostream& os, OpKind op);
254 std::ostream& operator<<(std::ostream& os, const HDataProcWithShifterOp::OpKind op);
Dinduction_var_analysis.h102 InductionOp op, in InductionInfo()
108 operation(op), in InductionInfo()
124 InductionOp op, in CreateInvariantOp() argument
127 DCHECK(((op != kNeg && a != nullptr) || (op == kNeg && a == nullptr)) && b != nullptr); in CreateInvariantOp()
128 return CreateSimplifiedInvariant(context, loop, op, a, b); in CreateInvariantOp()
137 InductionInfo* CreateTripCount(InductionOp op, in CreateTripCount() argument
142 return new (graph_->GetAllocator()) InductionInfo(kInvariant, op, a, b, nullptr, type); in CreateTripCount()
146 InductionOp op, in CreateInduction() argument
152 return new (graph_->GetAllocator()) InductionInfo(ic, op, a, b, f, type); in CreateInduction()
177 InductionOp op,
[all …]
Dgraph_checker.cc1011 void GraphChecker::VisitCondition(HCondition* op) { in VisitCondition() argument
1012 VisitInstruction(op); in VisitCondition()
1013 if (op->GetType() != DataType::Type::kBool) { in VisitCondition()
1016 op->DebugName(), op->GetId(), in VisitCondition()
1017 DataType::PrettyDescriptor(op->GetType()))); in VisitCondition()
1019 HInstruction* lhs = op->InputAt(0); in VisitCondition()
1020 HInstruction* rhs = op->InputAt(1); in VisitCondition()
1024 op->DebugName(), op->GetId(), in VisitCondition()
1028 if (!op->IsEqual() && !op->IsNotEqual()) { in VisitCondition()
1032 op->DebugName(), op->GetId())); in VisitCondition()
[all …]
Dinstruction_simplifier_shared.cc189 bool TryMergeNegatedInput(HBinaryOperation* op) { in TryMergeNegatedInput() argument
190 DCHECK(op->IsAnd() || op->IsOr() || op->IsXor()) << op->DebugName(); in TryMergeNegatedInput()
191 HInstruction* left = op->GetLeft(); in TryMergeNegatedInput()
192 HInstruction* right = op->GetRight(); in TryMergeNegatedInput()
220 HBitwiseNegatedRight(op->GetType(), op->GetKind(), hother, src, op->GetDexPc()); in TryMergeNegatedInput()
222 op->GetBlock()->ReplaceAndRemoveInstructionWith(op, neg_op); in TryMergeNegatedInput()
Dinduction_var_analysis.cc633 InductionOp op, in TransferAddSub() argument
642 return CreateInvariantOp(context, loop, op, a, b); // direct invariant in TransferAddSub()
646 InductionInfo* new_a = TransferAddSub(context, loop, a->op_a, b->op_a, op, type); in TransferAddSub()
647 InductionInfo* new_b = TransferAddSub(context, loop, a->op_b, b->op_b, op, type); in TransferAddSub()
654 InductionInfo* new_b = TransferAddSub(context, loop, a, b->op_b, op, type); in TransferAddSub()
656 new_a = TransferAddSub(context, loop, a, new_a, op, type); in TransferAddSub()
657 } else if (op == kSub) { // Negation required. in TransferAddSub()
666 InductionInfo* new_b = TransferAddSub(context, loop, a->op_b, b, op, type); in TransferAddSub()
668 new_a = TransferAddSub(context, loop, new_a, b, op, type); in TransferAddSub()
812 InductionOp op, in SolveAddSub() argument
[all …]
Dnodes_shared.cc75 std::ostream& operator<<(std::ostream& os, const HDataProcWithShifterOp::OpKind op) { in operator <<() argument
76 switch (op) { in operator <<()
87 LOG(FATAL) << "Invalid OpKind " << static_cast<int>(op); in operator <<()
Dnodes_x86.h171 HX86MaskOrResetLeastSetBit(DataType::Type result_type, InstructionKind op,
174 op_kind_(op) { in HUnaryOperation()
176 DCHECK(op == HInstruction::kAnd || op == HInstruction::kXor) << op; in HUnaryOperation()
Dinstruction_simplifier.cc60 bool ReplaceRotateWithRor(HBinaryOperation* op, HUShr* ushr, HShl* shl);
62 bool TryReplaceWithRotateConstantPattern(HBinaryOperation* op, HUShr* ushr, HShl* shl);
63 bool TryReplaceWithRotateRegisterNegPattern(HBinaryOperation* op, HUShr* ushr, HShl* shl);
64 bool TryReplaceWithRotateRegisterSubPattern(HBinaryOperation* op, HUShr* ushr, HShl* shl);
70 bool TryDeMorganNegationFactoring(HBinaryOperation* op);
225 bool InstructionSimplifierVisitor::TryDeMorganNegationFactoring(HBinaryOperation* op) { in TryDeMorganNegationFactoring() argument
226 DCHECK(op->IsAnd() || op->IsOr()) << op->DebugName(); in TryDeMorganNegationFactoring()
227 DataType::Type type = op->GetType(); in TryDeMorganNegationFactoring()
228 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring()
229 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring()
[all …]
Dgraph_checker.h57 void VisitBinaryOperation(HBinaryOperation* op) override;
62 void VisitCondition(HCondition* op) override;
Dinduction_var_range_test.cc136 HInductionVarAnalysis::InductionOp op; in CreateInvariant() local
138 case '+': op = HInductionVarAnalysis::kAdd; break; in CreateInvariant()
139 case '-': op = HInductionVarAnalysis::kSub; break; in CreateInvariant()
140 case 'n': op = HInductionVarAnalysis::kNeg; break; in CreateInvariant()
141 case '*': op = HInductionVarAnalysis::kMul; break; in CreateInvariant()
142 case '/': op = HInductionVarAnalysis::kDiv; break; in CreateInvariant()
143 case '%': op = HInductionVarAnalysis::kRem; break; in CreateInvariant()
144 case '^': op = HInductionVarAnalysis::kXor; break; in CreateInvariant()
145 case '<': op = HInductionVarAnalysis::kLT; break; in CreateInvariant()
146 default: op = HInductionVarAnalysis::kNop; break; in CreateInvariant()
[all …]
Dinstruction_simplifier_shared.h64 bool TryMergeNegatedInput(HBinaryOperation* op);
Dnodes_vector.h1008 InstructionKind op, in HVecMultiplyAccumulate() argument
1022 op_kind_(op) { in HVecMultiplyAccumulate()
1023 DCHECK(op == InstructionKind::kAdd || op == InstructionKind::kSub); in HVecMultiplyAccumulate()
/art/test/004-ThreadStress/src-art/
DMain.java387 Operation op = null; in updateFrequencyMap() local
389 op = new OOM(); in updateFrequencyMap()
391 op = new SigQuit(); in updateFrequencyMap()
393 op = new Alloc(); in updateFrequencyMap()
395 op = new LargeAlloc(); in updateFrequencyMap()
397 op = new NonMovingAlloc(); in updateFrequencyMap()
399 op = new StackTrace(); in updateFrequencyMap()
401 op = new Exit(); in updateFrequencyMap()
403 op = new Sleep(); in updateFrequencyMap()
405 op = new Wait(lock); in updateFrequencyMap()
[all …]
/art/tools/jvmti-agents/titrace/
Dinstruction_decoder.cc31 Bytecode::Opcode op = static_cast<Bytecode::Opcode>(opcode); in GetName() local
32 return Bytecode::ToString(op); in GetName()
252 static const char* ToString(Bytecode::Opcode op) { in ToString() argument
253 switch (op) { in ToString()
460 LOG(FATAL) << "Unknown opcode " << op; in ToString()
474 Bytecode::Opcode op = static_cast<Bytecode::Opcode>(opcode); in GetName() local
475 return Bytecode::ToString(op); in GetName()
496 static const char* ToString(Bytecode::Opcode op) { in ToString() argument
497 switch (op) { in ToString()
502 default: LOG(FATAL) << "Unknown opcode " << op; in ToString()
/art/disassembler/
Ddisassembler_arm64.cc78 Instr op = instr->Mask(LoadLiteralMask); in VisitLoadLiteral() local
79 switch (op) { in VisitLoadLiteral()
83 int64_t data = op == LDR_x_lit ? *reinterpret_cast<int64_t*>(data_address) in VisitLoadLiteral()
90 double data = (op == LDR_s_lit) ? *reinterpret_cast<float*>(data_address) in VisitLoadLiteral()
/art/runtime/interpreter/mterp/armng/
Darithmetic.S30 $preinstr @ optional op; may set condition codes
31 $instr @ $result<- op, r0-r3 changed
63 $preinstr @ optional op; may set condition codes
64 $instr @ $result<- op, r0-r3 changed
94 $instr @ $result<- op, r0-r3 changed
130 $instr @ $result<- op, r0-r3 changed
168 $preinstr @ optional op; may set condition codes
169 $instr @ result<- op, r0-r3 changed
203 $preinstr @ optional op; may set condition codes
204 $instr @ result<- op, r0-r3 changed
[all …]
Dfloating_point.S20 $instr @ s2<- op
41 $instr @ s2<- op
/art/test/701-easy-div-rem/
DgenMain.py72 for op, op_name in (('/', 'Div'), ('%', 'Rem')):
73 local_vars['@OP@'] = op
/art/test/000-nop/
Dinfo.txt1 This is a sample no-op test, which does at least serve to verify that the
/art/runtime/interpreter/
Dinterpreter_intrinsics.cc27 #define BINARY_INTRINSIC(name, op, get1, get2, set) \ argument
35 result_register->set(op(shadow_frame->get1, shadow_frame->get2)); \
39 #define BINARY_II_INTRINSIC(name, op, set) \ argument
40 BINARY_INTRINSIC(name, op, GetVReg(arg[0]), GetVReg(arg[1]), set)
42 #define BINARY_JJ_INTRINSIC(name, op, set) \ argument
43 BINARY_INTRINSIC(name, op, GetVRegLong(arg[0]), GetVRegLong(arg[2]), set)
45 #define BINARY_JI_INTRINSIC(name, op, set) \ argument
46 BINARY_INTRINSIC(name, op, GetVRegLong(arg[0]), GetVReg(arg[2]), set)
48 #define UNARY_INTRINSIC(name, op, get, set) \ argument
56 result_register->set(op(shadow_frame->get(arg[0]))); \
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc320 static std::string RemoveLastOption(const std::string& op) { in RemoveLastOption() argument
321 if (op.find(',') == std::string::npos) { in RemoveLastOption()
324 return SubstrOf(op, op.find(',') + 1, std::string::npos); in RemoveLastOption()
/art/tools/ahat/src/main/com/android/ahat/proguard/
DProguardMap.java308 int op = clearName.indexOf('('); in readFromReader() local
310 if (op == -1 || cp == -1) { in readFromReader()
314 String sig = clearName.substring(op, cp + 1); in readFromReader()
341 clearName = clearName.substring(0, op); in readFromReader()
/art/runtime/base/
Dmutex-inl.h41 static inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, in futex() argument
43 return syscall(SYS_futex, uaddr, op, val, timeout, uaddr2, val3); in futex()
/art/test/988-method-trace/src/art/
DTest988.java400 public static void doFibTest(int x, IntUnaryOperator op) {
402 int y = op.applyAsInt(x);
/art/tools/veridex/
Dflow_analysis.cc167 #define IF_XX(cond, op) \ in GetBranchFlags() argument
172 if (lhs.GetConstant() op rhs.GetConstant()) { \ in GetBranchFlags()
183 if (val.GetConstant() op 0) { /* NOLINT */ \ in GetBranchFlags()

12