Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 35) 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()
125 InductionInfo* CreateInvariantOp(InductionOp op, InductionInfo* a, InductionInfo* b) { in CreateInvariantOp() argument
126 DCHECK(((op != kNeg && a != nullptr) || (op == kNeg && a == nullptr)) && b != nullptr); in CreateInvariantOp()
127 return CreateSimplifiedInvariant(op, a, b); in CreateInvariantOp()
136 InductionInfo* CreateTripCount(InductionOp op, in CreateTripCount() argument
141 return new (graph_->GetAllocator()) InductionInfo(kInvariant, op, a, b, nullptr, type); in CreateTripCount()
145 InductionOp op, in CreateInduction() argument
151 return new (graph_->GetAllocator()) InductionInfo(ic, op, a, b, f, type); in CreateInduction()
167 InductionInfo* TransferAddSub(InductionInfo* a, InductionInfo* b, InductionOp op);
[all …]
Dgraph_checker.cc1006 void GraphChecker::VisitCondition(HCondition* op) { in VisitCondition() argument
1007 VisitInstruction(op); in VisitCondition()
1008 if (op->GetType() != DataType::Type::kBool) { in VisitCondition()
1011 op->DebugName(), op->GetId(), in VisitCondition()
1012 DataType::PrettyDescriptor(op->GetType()))); in VisitCondition()
1014 HInstruction* lhs = op->InputAt(0); in VisitCondition()
1015 HInstruction* rhs = op->InputAt(1); in VisitCondition()
1019 op->DebugName(), op->GetId(), in VisitCondition()
1023 if (!op->IsEqual() && !op->IsNotEqual()) { in VisitCondition()
1027 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.cc564 InductionOp op) { in TransferAddSub() argument
572 return CreateInvariantOp(op, a, b); // direct invariant in TransferAddSub()
576 InductionInfo* new_a = TransferAddSub(a->op_a, b->op_a, op); in TransferAddSub()
577 InductionInfo* new_b = TransferAddSub(a->op_b, b->op_b, op); in TransferAddSub()
584 InductionInfo* new_b = TransferAddSub(a, b->op_b, op); in TransferAddSub()
586 new_a = TransferAddSub(a, new_a, op); in TransferAddSub()
587 } else if (op == kSub) { // Negation required. in TransferAddSub()
596 InductionInfo* new_b = TransferAddSub(a->op_b, b, op); in TransferAddSub()
598 new_a = TransferAddSub(new_a, b, op); in TransferAddSub()
729 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.cc56 bool ReplaceRotateWithRor(HBinaryOperation* op, HUShr* ushr, HShl* shl);
58 bool TryReplaceWithRotateConstantPattern(HBinaryOperation* op, HUShr* ushr, HShl* shl);
59 bool TryReplaceWithRotateRegisterNegPattern(HBinaryOperation* op, HUShr* ushr, HShl* shl);
60 bool TryReplaceWithRotateRegisterSubPattern(HBinaryOperation* op, HUShr* ushr, HShl* shl);
66 bool TryDeMorganNegationFactoring(HBinaryOperation* op);
219 bool InstructionSimplifierVisitor::TryDeMorganNegationFactoring(HBinaryOperation* op) { in TryDeMorganNegationFactoring() argument
220 DCHECK(op->IsAnd() || op->IsOr()) << op->DebugName(); in TryDeMorganNegationFactoring()
221 DataType::Type type = op->GetType(); in TryDeMorganNegationFactoring()
222 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring()
223 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);
/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/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/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/runtime/interpreter/mterp/arm/
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/000-nop/
Dinfo.txt1 This is a sample no-op test, which does at least serve to verify that the
/art/openjdkjvmti/
Dtransform.cc117 [&](const auto op) { return op->ContainsAddress(ptr); }); in Action() argument
134 [&](const auto op) { return op->ContainsAddress(ptr); }) != in Action() argument
193 [&](const auto op) { return op->ContainsAddress(ptr); }) != in DefinitionIsInitializing() argument
/art/test/701-easy-div-rem/
DgenMain.py72 for op, op_name in (('/', 'Div'), ('%', 'Rem')):
73 local_vars['@OP@'] = op
/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/ahat/src/main/com/android/ahat/proguard/
DProguardMap.java271 int op = clearName.indexOf('('); in readFromReader() local
273 if (op == -1 || cp == -1) { in readFromReader()
277 String sig = clearName.substring(op, cp + 1); in readFromReader()
292 clearName = clearName.substring(0, op); in readFromReader()
/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/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.java386 public static void doFibTest(int x, IntUnaryOperator op) {
388 int y = op.applyAsInt(x);
/art/tools/veridex/
Dflow_analysis.cc149 #define IF_XX(cond, op) \ in GetBranchFlags() argument
154 if (lhs.GetConstant() op rhs.GetConstant()) { \ in GetBranchFlags()
165 if (val.GetConstant() op 0) { /* NOLINT */ \ in GetBranchFlags()

12