Home
last modified time | relevance | path

Searched refs:RType (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/sys/arch/mips/mips/
H A Ddb_disasm.c258 const char *name = spec_name[i.RType.func]; in db_disasm_insn()
261 if ((i.RType.func == OP_SLL) && in db_disasm_insn()
262 (i.RType.rs == 0) && in db_disasm_insn()
263 (i.RType.rt == 0) && in db_disasm_insn()
264 (i.RType.rd == 0)) { in db_disasm_insn()
265 switch (i.RType.shamt) { in db_disasm_insn()
297 ((i.RType.func == OP_OR) || (i.RType.func == OP_MOVE_ADDU)) in db_disasm_insn()
298 && i.RType.rt == 0) { in db_disasm_insn()
300 reg_name[i.RType.rd], in db_disasm_insn()
301 reg_name[i.RType.rs]); in db_disasm_insn()
[all …]
H A Dmips_fixup.c364 switch (insn.RType.rs) { in mips_fixup_addr()
366 if (insn.RType.rd != 22) { in mips_fixup_addr()
370 if ((used & (1 << insn.RType.rt)) == 0) { in mips_fixup_addr()
389 switch (insn.RType.func) { in mips_fixup_addr()
392 if ((used & (1 << insn.RType.rs)) == 0) { in mips_fixup_addr()
403 return regs[insn.RType.rs]; in mips_fixup_addr()
405 if ((used & (1 << insn.RType.rs)) == 0 in mips_fixup_addr()
406 || (used & (1 << insn.RType.rt)) == 0) { in mips_fixup_addr()
410 regs[insn.RType.rd] = in mips_fixup_addr()
411 regs[insn.RType.rs] & regs[insn.RType.rt]; in mips_fixup_addr()
[all …]
H A Dmips_stacktrace.c404 switch (i.RType.func) { in stacktrace_subr()
414 if (!(mask & (1 << i.RType.rd)) in stacktrace_subr()
415 || !(mask & (1 << i.RType.rt))) in stacktrace_subr()
417 if (i.RType.rd != _R_ZERO) in stacktrace_subr()
419 mask |= (1 << i.RType.rs); in stacktrace_subr()
420 regs[i.RType.rs] = regs[i.RType.rt]; in stacktrace_subr()
421 if (i.RType.func >= OP_DADD) in stacktrace_subr()
423 regs[i.RType.rs] = (int32_t)regs[i.RType.rs]; in stacktrace_subr()
447 switch (i.RType.rs) { in stacktrace_subr()
H A Dmips_emul.c81 if (inst.RType.func == OP_JR || inst.RType.func == OP_JALR) in mips_emul_branch()
82 nextpc = tf->tf_regs[inst.RType.rs]; in mips_emul_branch()
96 if ((int)(tf->tf_regs[inst.RType.rs]) < 0) in mips_emul_branch()
106 if ((int)(tf->tf_regs[inst.RType.rs]) >= 0) in mips_emul_branch()
126 if (tf->tf_regs[inst.RType.rs] == tf->tf_regs[inst.RType.rt]) in mips_emul_branch()
134 if (tf->tf_regs[inst.RType.rs] != tf->tf_regs[inst.RType.rt]) in mips_emul_branch()
142 if ((int)(tf->tf_regs[inst.RType.rs]) <= 0) in mips_emul_branch()
150 if ((int)(tf->tf_regs[inst.RType.rs]) > 0) in mips_emul_branch()
157 if (inst.RType.rs == OP_BCx || inst.RType.rs == OP_BCy) { in mips_emul_branch()
159 if ((inst.RType.rt & COPz_BC_TF_MASK) != COPz_BC_TRUE) in mips_emul_branch()
[all …]
H A Ddb_interface.c962 switch (i.RType.rs) { in inst_branch()
970 if (i.RType.op == OP_JR || i.RType.op == OP_JALR) in inst_branch()
988 && ((i.RType.func == OP_JR && i.RType.rs != 31) || in inst_call()
989 i.RType.func == OP_JALR)) in inst_call()
1010 return (i.JType.op == OP_SPECIAL && i.RType.func == OP_JR && in inst_return()
1011 i.RType.rs == 31); in inst_return()
1025 (i.JType.op == OP_SPECIAL && i.RType.func == OP_JR); in inst_unconditional_flow_transfer()
H A Dtrap.c609 (insn.RType.func == OP_BREAK)) { in trap()
610 int code = (insn.RType.rs << 5) | insn.RType.rt; in trap()
713 (insn.RType.func == OP_TEQ)) { in trap()
714 int code = (insn.RType.rd << 5) | insn.RType.shamt; in trap()
/netbsd-src/sys/arch/arc/arc/
H A Dminidebug.c684 if (i.RType.func == OP_ADDU && i.RType.rt == 0) { in mdbprintins()
686 reg_name[i.RType.rd], in mdbprintins()
687 reg_name[i.RType.rs]); in mdbprintins()
690 printf("%s", spec_name[i.RType.func]); in mdbprintins()
691 switch (i.RType.func) { in mdbprintins()
702 reg_name[i.RType.rd], in mdbprintins()
703 reg_name[i.RType.rt], in mdbprintins()
704 i.RType.shamt); in mdbprintins()
714 reg_name[i.RType.rd], in mdbprintins()
715 reg_name[i.RType.rt], in mdbprintins()
[all …]
/netbsd-src/sys/arch/mips/include/
H A Dmips_opcode.h71 } RType; member
113 } RType; member
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dgetopt.d909 alias RType = typeof(receiver("")); in handleOption() local
910 static assert(is(RType : void), in handleOption()
911 "Invalid receiver return type " ~ RType.stringof); in handleOption()
917 alias RType = typeof(receiver()); in handleOption() local
918 static assert(is(RType : void), in handleOption()
919 "Invalid receiver return type " ~ RType.stringof); in handleOption()
/netbsd-src/external/cddl/osnet/dev/dtrace/mips/
H A Ddtrace_isa.c389 switch (i.RType.func) { in dtrace_next_frame()
415 switch (i.RType.rs) { in dtrace_next_frame()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMicroMipsSizeReduction.cpp96 ReduceEntry(enum ReduceType RType, struct OpCodes Op, in ReduceEntry()
99 : eRType(RType), ReduceFunction(F), Ops(Op), OpInf(OpInf), Imm(Imm) {} in ReduceEntry()
110 enum ReduceType RType() const { return eRType; } in RType() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DMachOObjectFile.cpp2173 uint64_t RType = getRelocationType(Rel); in getRelocationTypeName() local
2187 if (RType > 5) in getRelocationTypeName()
2190 res = Table[RType]; in getRelocationTypeName()
2206 if (RType > 9) in getRelocationTypeName()
2209 res = Table[RType]; in getRelocationTypeName()
2225 if (RType > 9) in getRelocationTypeName()
2228 res = Table[RType]; in getRelocationTypeName()
2242 if (RType >= array_lengthof(Table)) in getRelocationTypeName()
2245 res = Table[RType]; in getRelocationTypeName()
2267 if (RType > 15) in getRelocationTypeName()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DELFObjectWriter.cpp959 if (uint32_t RType = in writeRelocations() local
963 ERE32.setSymbolAndType(0, RType); in writeRelocations()
967 if (uint32_t RType = in writeRelocations() local
971 ERE32.setSymbolAndType(0, RType); in writeRelocations()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DOpenCLBuiltins.td441 foreach RType = [Float, Double, Half, Char, UChar, Short,
446 foreach sat = !cond(!eq(RType.Name, "float") : [""],
447 !eq(RType.Name, "double") : [""],
448 !eq(RType.Name, "half") : [""],
451 def : Builtin<"convert_" # RType.Name # sat # rnd, [RType, IType],
454 def : Builtin<"convert_" # RType.Name # v # sat # rnd,
455 [VectorType<RType, v>, VectorType<IType, v>],
H A DSemaInit.cpp654 if (const RecordType *RType = ILE->getType()->getAs<RecordType>()) in FillInEmptyInitForField() local
655 if (!RType->getDecl()->isUnion()) in FillInEmptyInitForField()
776 if (const RecordType *RType = ILE->getType()->getAs<RecordType>()) { in FillInEmptyInitializations() local
777 const RecordDecl *RDecl = RType->getDecl(); in FillInEmptyInitializations()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprCXX.cpp1207 if (const RecordType *RType = ILE->getType()->getAs<RecordType>()) { in EmitNewArrayInitializer() local
1208 if (RType->getDecl()->isStruct()) { in EmitNewArrayInitializer()
1210 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RType->getDecl())) in EmitNewArrayInitializer()
1212 for (auto *Field : RType->getDecl()->fields()) in EmitNewArrayInitializer()
H A DCGBuiltin.cpp1980 static llvm::Value *dumpRecord(CodeGenFunction &CGF, QualType RType, in dumpRecord() argument
1984 RecordDecl *RD = RType->castAs<RecordType>()->getDecl()->getDefinition(); in dumpRecord()
1988 CGF.Builder.CreateGlobalStringPtr(RType.getAsString() + " {\n"); in dumpRecord()
2019 FieldPtr = CGF.Builder.CreateStructGEP(CGF.ConvertType(RType), FieldPtr, in dumpRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp2040 RecTy *RType = resolveTypes(Type, VTy); in ParseOperationCond() local
2041 if (!RType) { in ParseOperationCond()
2046 Type = RType; in ParseOperationCond()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DMachODump.cpp464 unsigned RType = Obj->getAnyRelocationType(RENext); in getMachORelocationValueString() local
465 if (RType != MachO::X86_64_RELOC_UNSIGNED) in getMachORelocationValueString()
512 unsigned RType = Obj->getAnyRelocationType(RENext); in getMachORelocationValueString() local
514 if (RType != MachO::GENERIC_RELOC_PAIR) in getMachORelocationValueString()
534 unsigned RType = Obj->getAnyRelocationType(RENext); in getMachORelocationValueString() local
535 if (RType != MachO::GENERIC_RELOC_PAIR) in getMachORelocationValueString()
574 unsigned RType = Obj->getAnyRelocationType(RENext); in getMachORelocationValueString() local
575 if (RType != MachO::ARM_RELOC_PAIR) in getMachORelocationValueString()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2751 Type *RType = RVal->getType(); in isCompatibleIVType() local
2752 return (LType == RType) || (LType->isPointerTy() && RType->isPointerTy() && in isCompatibleIVType()
2757 RType->getPointerAddressSpace())); in isCompatibleIVType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp8506 EVT RType = Node->getValueType(1); in expandMULO() local
8507 if (RType.bitsLT(Overflow.getValueType())) in expandMULO()
8508 Overflow = DAG.getNode(ISD::TRUNCATE, dl, RType, Overflow); in expandMULO()
8510 assert(RType.getSizeInBits() == Overflow.getValueSizeInBits() && in expandMULO()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolution.cpp701 SCEVTypes LType = LHS->getSCEVType(), RType = RHS->getSCEVType(); in CompareSCEVComplexity() local
702 if (LType != RType) in CompareSCEVComplexity()
703 return (int)LType - (int)RType; in CompareSCEVComplexity()