/frameworks/base/startop/view_compiler/ |
D | dex_testcase_generator.cc | 85 Instruction::InvokeVirtual(string_length.id, result, Value::Parameter(0))); in GenerateSimpleTestCases() 96 returnIfZero.AddInstruction(Instruction::OpWithArgs( in GenerateSimpleTestCases() 97 Instruction::Op::kBranchEqz, /*dest=*/{}, Value::Parameter(0), else_target)); in GenerateSimpleTestCases() 101 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfZero)); in GenerateSimpleTestCases() 104 Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, else_target)); in GenerateSimpleTestCases() 107 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfZero)); in GenerateSimpleTestCases() 117 returnIfNotZero.AddInstruction(Instruction::OpWithArgs( in GenerateSimpleTestCases() 118 Instruction::Op::kBranchNEqz, /*dest=*/{}, Value::Parameter(0), else_target)); in GenerateSimpleTestCases() 122 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfNotZero)); in GenerateSimpleTestCases() 125 Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, else_target)); in GenerateSimpleTestCases() [all …]
|
D | dex_builder.cc | 29 using Op = Instruction::Op; 69 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode) { in operator <<() 71 case Instruction::Op::kReturn: in operator <<() 74 case Instruction::Op::kReturnObject: in operator <<() 77 case Instruction::Op::kMove: in operator <<() 80 case Instruction::Op::kMoveObject: in operator <<() 83 case Instruction::Op::kInvokeVirtual: in operator <<() 86 case Instruction::Op::kInvokeDirect: in operator <<() 89 case Instruction::Op::kInvokeStatic: in operator <<() 92 case Instruction::Op::kInvokeInterface: in operator <<() [all …]
|
D | dex_builder.h | 172 class Instruction { 201 static inline Instruction OpNoArgs(Op opcode) { in OpNoArgs() 202 return Instruction{opcode, /*index_argument*/ 0, /*dest*/ {}}; in OpNoArgs() 206 static inline Instruction OpWithArgs(Op opcode, std::optional<const Value> dest, in OpWithArgs() 208 return Instruction{opcode, /*index_argument=*/0, /*result_is_object=*/false, dest, args...}; in OpWithArgs() 212 static inline Instruction Cast(Value val, Value type) { in Cast() 219 static inline Instruction InvokeVirtual(size_t index_argument, std::optional<const Value> dest, in InvokeVirtual() 221 return Instruction{ in InvokeVirtual() 226 static inline Instruction InvokeVirtualObject(size_t index_argument, in InvokeVirtualObject() 229 return Instruction{ in InvokeVirtualObject() [all …]
|
D | dex_layout_compiler.cc | 25 using dex::Instruction; 72 method_->AddInstruction(Instruction::InvokeStaticObject(layout_inflater_from.id, dest, context_)); in BuildGetLayoutInflater() 79 method_->AddInstruction(Instruction::InvokeVirtualObject(get_resources.id, dest, context_)); in BuildGetResources() 86 method_->AddInstruction(Instruction::InvokeVirtualObject(get_layout.id, dest, resources, resid)); in BuildGetLayoutResource() 97 Instruction::InvokeStaticObject(as_attribute_set.id, dest, layout_resource)); in BuildLayoutResourceToAttributeSet() 102 method_->AddInstruction(Instruction::InvokeInterface(xml_next_.id, {}, xml_)); in BuildXmlNext() 130 method_->AddInstruction(Instruction::InvokeVirtualObject( in BuildTryCreateView() 154 Instruction::OpWithArgs(Instruction::Op::kBranchNEqz, /*dest=*/{}, view, label)); in StartView() 163 method_->AddInstruction(Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, label)); in StartView() 168 method_->AddInstruction(Instruction::Cast(view, Value::Type(view_group_def->orig_index))); in StartView() [all …]
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | BitcodeWriter.cpp | 66 case Instruction::Trunc : return bitc::CAST_TRUNC; in GetEncodedCastOpcode() 67 case Instruction::ZExt : return bitc::CAST_ZEXT; in GetEncodedCastOpcode() 68 case Instruction::SExt : return bitc::CAST_SEXT; in GetEncodedCastOpcode() 69 case Instruction::FPToUI : return bitc::CAST_FPTOUI; in GetEncodedCastOpcode() 70 case Instruction::FPToSI : return bitc::CAST_FPTOSI; in GetEncodedCastOpcode() 71 case Instruction::UIToFP : return bitc::CAST_UITOFP; in GetEncodedCastOpcode() 72 case Instruction::SIToFP : return bitc::CAST_SITOFP; in GetEncodedCastOpcode() 73 case Instruction::FPTrunc : return bitc::CAST_FPTRUNC; in GetEncodedCastOpcode() 74 case Instruction::FPExt : return bitc::CAST_FPEXT; in GetEncodedCastOpcode() 75 case Instruction::PtrToInt: return bitc::CAST_PTRTOINT; in GetEncodedCastOpcode() [all …]
|
D | ValueEnumerator.h | 26 class Instruction; variable 78 typedef llvm::DenseMap<const llvm::Instruction*, unsigned> InstructionMapType; 126 unsigned getInstructionID(const llvm::Instruction *I) const; 127 void setInstructionID(const llvm::Instruction *I);
|
D | ValueEnumerator.cpp | 86 for (const Instruction &I : BB) { in ValueEnumerator() 123 unsigned ValueEnumerator::getInstructionID(const Instruction *Inst) const { in getInstructionID() 129 void ValueEnumerator::setInstructionID(const Instruction *I) { in setInstructionID()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | BitcodeWriter.cpp | 66 case Instruction::Trunc : return bitc::CAST_TRUNC; in GetEncodedCastOpcode() 67 case Instruction::ZExt : return bitc::CAST_ZEXT; in GetEncodedCastOpcode() 68 case Instruction::SExt : return bitc::CAST_SEXT; in GetEncodedCastOpcode() 69 case Instruction::FPToUI : return bitc::CAST_FPTOUI; in GetEncodedCastOpcode() 70 case Instruction::FPToSI : return bitc::CAST_FPTOSI; in GetEncodedCastOpcode() 71 case Instruction::UIToFP : return bitc::CAST_UITOFP; in GetEncodedCastOpcode() 72 case Instruction::SIToFP : return bitc::CAST_SITOFP; in GetEncodedCastOpcode() 73 case Instruction::FPTrunc : return bitc::CAST_FPTRUNC; in GetEncodedCastOpcode() 74 case Instruction::FPExt : return bitc::CAST_FPEXT; in GetEncodedCastOpcode() 75 case Instruction::PtrToInt: return bitc::CAST_PTRTOINT; in GetEncodedCastOpcode() [all …]
|
D | ValueEnumerator.h | 27 class Instruction; variable 81 typedef llvm::DenseMap<const llvm::Instruction*, unsigned> InstructionMapType; 129 unsigned getInstructionID(const llvm::Instruction *I) const; 130 void setInstructionID(const llvm::Instruction *I);
|
D | ValueEnumerator.cpp | 86 for (const Instruction &I : BB) { in ValueEnumerator() 123 unsigned ValueEnumerator::getInstructionID(const Instruction *Inst) const { in getInstructionID() 129 void ValueEnumerator::setInstructionID(const Instruction *I) { in setInstructionID()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 81 case Instruction::Trunc : return bitc::CAST_TRUNC; in GetEncodedCastOpcode() 82 case Instruction::ZExt : return bitc::CAST_ZEXT; in GetEncodedCastOpcode() 83 case Instruction::SExt : return bitc::CAST_SEXT; in GetEncodedCastOpcode() 84 case Instruction::FPToUI : return bitc::CAST_FPTOUI; in GetEncodedCastOpcode() 85 case Instruction::FPToSI : return bitc::CAST_FPTOSI; in GetEncodedCastOpcode() 86 case Instruction::UIToFP : return bitc::CAST_UITOFP; in GetEncodedCastOpcode() 87 case Instruction::SIToFP : return bitc::CAST_SITOFP; in GetEncodedCastOpcode() 88 case Instruction::FPTrunc : return bitc::CAST_FPTRUNC; in GetEncodedCastOpcode() 89 case Instruction::FPExt : return bitc::CAST_FPEXT; in GetEncodedCastOpcode() 90 case Instruction::PtrToInt: return bitc::CAST_PTRTOINT; in GetEncodedCastOpcode() [all …]
|
D | ValueEnumerator.h | 26 class Instruction; variable 78 typedef llvm::DenseMap<const llvm::Instruction*, unsigned> InstructionMapType; 126 unsigned getInstructionID(const llvm::Instruction *I) const; 127 void setInstructionID(const llvm::Instruction *I);
|
D | ValueEnumerator.cpp | 86 for (const Instruction &I : BB) { in ValueEnumerator() 123 unsigned ValueEnumerator::getInstructionID(const Instruction *Inst) const { in getInstructionID() 129 void ValueEnumerator::setInstructionID(const Instruction *I) { in setInstructionID()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 199 SmallVector<Instruction *, 64> InstructionList; 502 case bitc::CAST_TRUNC : return Instruction::Trunc; in GetDecodedCastOpcode() 503 case bitc::CAST_ZEXT : return Instruction::ZExt; in GetDecodedCastOpcode() 504 case bitc::CAST_SEXT : return Instruction::SExt; in GetDecodedCastOpcode() 505 case bitc::CAST_FPTOUI : return Instruction::FPToUI; in GetDecodedCastOpcode() 506 case bitc::CAST_FPTOSI : return Instruction::FPToSI; in GetDecodedCastOpcode() 507 case bitc::CAST_UITOFP : return Instruction::UIToFP; in GetDecodedCastOpcode() 508 case bitc::CAST_SITOFP : return Instruction::SIToFP; in GetDecodedCastOpcode() 509 case bitc::CAST_FPTRUNC : return Instruction::FPTrunc; in GetDecodedCastOpcode() 510 case bitc::CAST_FPEXT : return Instruction::FPExt; in GetDecodedCastOpcode() [all …]
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 180 SmallPtrSet<Instruction*, 32> DeadInsts; in UpgradeExceptionHandling() 261 for (SmallPtrSet<Instruction*, 32>::iterator in UpgradeExceptionHandling() 263 Instruction *Inst = *I; in UpgradeExceptionHandling() 289 Instruction *Inst = &*I++; in UpgradeExceptionHandling() 441 SmallVector<Instruction *, 64> InstructionList; 739 case bitc::CAST_TRUNC : return Instruction::Trunc; in GetDecodedCastOpcode() 740 case bitc::CAST_ZEXT : return Instruction::ZExt; in GetDecodedCastOpcode() 741 case bitc::CAST_SEXT : return Instruction::SExt; in GetDecodedCastOpcode() 742 case bitc::CAST_FPTOUI : return Instruction::FPToUI; in GetDecodedCastOpcode() 743 case bitc::CAST_FPTOSI : return Instruction::FPToSI; in GetDecodedCastOpcode() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | RSInvariant.cpp | 113 llvm::Instruction *Inst = llvm::cast<llvm::Instruction>(Use.getUser()); in markInvariantUserLoads()
|
D | RSAddDebugInfoPass.cpp | 183 for (llvm::Instruction &inst : llvm::instructions(Func)) { in attachDebugInfo() 243 llvm::Instruction *decl = DebugInfo.insertDeclare( in attachDebugInfo() 250 for (llvm::Instruction &inst : llvm::instructions(Func)) { in attachDebugInfo()
|
D | RSX86TranslateGEPPass.cpp | 57 llvm::Instruction *InsertBefore) { in incrementOffset()
|
D | RSKernelExpand.cpp | 470 Builder.SetInsertPoint(llvm::cast<llvm::Instruction>(IVNext)); in createLoop() 573 llvm::Instruction *LoopHeaderInsertionPoint) { in ExpandSpecialArguments()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonEncodings.h | 12 Instruction insn_encodings[] = {
|
D | HexagonRelocationFunctions.h | 18 } Instruction; typedef
|
D | HexagonRelocator.cpp | 142 Instruction* encodings, in findBitMask() 163 sizeof(insn_encodings) / sizeof(Instruction))
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 123 void insertHook(lir::Instruction* before, bool pre, u4 reg) { in transform() 141 lir::Instruction* fi = *it; in transform() 178 static void addInst(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, in addInst() 191 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall() 206 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall()
|