/external/valgrind/none/tests/mips64/ |
D | branch_and_jump_instructions.c | 4 #define TEST1(RSval, RD) \ argument 9 "move $"#RD", %1" "\n\t" \ 10 "b end"#RD "\n\t" \ 12 "daddi $"#RD", $"#RD", 5" "\n\t" \ 13 "end"#RD":" "\n\t" \ 14 "daddi $"#RD", $"#RD", 1" "\n\t" \ 15 "move %0, $"#RD "\n\t" \ 19 : #RD \ 25 #define TEST2(RSval, RD) \ argument 30 "move $"#RD", %1" "\n\t" \ [all …]
|
D | branches.c | 3 #define TESTINST1(RSval, RD) \ argument 8 "move $"#RD", %1" "\n\t" \ 11 "addi $"#RD", $"#RD", 5" "\n\t" \ 13 "addi $"#RD", $"#RD", 1" "\n\t" \ 14 "move %0, $"#RD "\n\t" \ 18 : #RD \ 24 #define TESTINST2(RSval, RD) \ argument 29 "move $"#RD", %1" "\n\t" \ 31 "addi $"#RD", $"#RD", 3" "\n\t" \ 32 "addi $"#RD", $"#RD", 5" "\n\t" \ [all …]
|
D | macro_int.h | 1 #define TEST1(instruction, RSval, RTval, RD, RS, RT) \ argument 7 "move $"#RD", $zero" "\n\t" \ 9 "move %0, $"#RD "\n\t" \ 12 : #RD, #RS, #RT \ 35 #define TEST3(instruction, RSval, RD, RS) \ argument 40 "move $"#RD", $zero" "\n\t" \ 42 "move %0, $"#RD "\n\t" \ 45 : #RD, #RS \
|
/external/valgrind/none/tests/mips32/ |
D | branches.c | 3 #define TESTINST1(RSval, RD) \ argument 9 "move $" #RD ", %1\n\t" \ 12 "addi $" #RD ", $" #RD", 5\n\t" \ 14 "addi $" #RD ", $" #RD", 1\n\t" \ 15 "move %0, $" #RD "\n\t" \ 19 : #RD, "memory" \ 25 #define TESTINST2(RSval, RD) \ argument 31 "move $" #RD ", %1\n\t" \ 33 "addi $" #RD ", $" #RD", 3\n\t" \ 34 "addi $" #RD ", $" #RD", 5\n\t" \ [all …]
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 86 bool getExternalNVBaseOffset(const CXXRecordDecl *RD, CharUnits &BaseOffset) { in getExternalNVBaseOffset() 87 auto Known = BaseOffsets.find(RD); in getExternalNVBaseOffset() 94 bool getExternalVBaseOffset(const CXXRecordDecl *RD, CharUnits &BaseOffset) { in getExternalVBaseOffset() 95 auto Known = VirtualBaseOffsets.find(RD); in getExternalVBaseOffset() 125 void AddSubobjectAtOffset(const CXXRecordDecl *RD, CharUnits Offset); 130 void UpdateEmptyFieldSubobjects(const CXXRecordDecl *RD, 151 bool CanPlaceSubobjectAtOffset(const CXXRecordDecl *RD, 157 bool CanPlaceFieldSubobjectAtOffset(const CXXRecordDecl *RD, 231 EmptySubobjectMap::CanPlaceSubobjectAtOffset(const CXXRecordDecl *RD, in CanPlaceSubobjectAtOffset() argument 234 if (!RD->isEmpty()) in CanPlaceSubobjectAtOffset() [all …]
|
D | MicrosoftCXXABI.cpp | 91 bool isNearlyEmpty(const CXXRecordDecl *RD) const override { in isNearlyEmpty() 106 getCopyConstructorForExceptionObject(CXXRecordDecl *RD) override { in getCopyConstructorForExceptionObject() argument 107 return RecordToCopyCtor[RD]; in getCopyConstructorForExceptionObject() 111 addCopyConstructorForExceptionObject(CXXRecordDecl *RD, in addCopyConstructorForExceptionObject() argument 114 assert(RecordToCopyCtor[RD] == nullptr || RecordToCopyCtor[RD] == CD); in addCopyConstructorForExceptionObject() 115 RecordToCopyCtor[RD] = CD; in addCopyConstructorForExceptionObject() 155 static bool usesMultipleInheritanceModel(const CXXRecordDecl *RD) { in usesMultipleInheritanceModel() argument 156 while (RD->getNumBases() > 0) { in usesMultipleInheritanceModel() 157 if (RD->getNumBases() > 1) in usesMultipleInheritanceModel() 159 assert(RD->getNumBases() == 1); in usesMultipleInheritanceModel() [all …]
|
D | VTTBuilder.cpp | 57 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVTTs() local 59 for (const auto &I : RD->bases()) { in LayoutSecondaryVTTs() 67 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); in LayoutSecondaryVTTs() 82 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVirtualPointers() local 86 if (!RD->getNumVBases() && !BaseIsMorallyVirtual) in LayoutSecondaryVirtualPointers() 89 for (const auto &I : RD->bases()) { in LayoutSecondaryVirtualPointers() 114 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); in LayoutSecondaryVirtualPointers() 151 void VTTBuilder::LayoutVirtualVTTs(const CXXRecordDecl *RD, in LayoutVirtualVTTs() argument 153 for (const auto &I : RD->bases()) { in LayoutVirtualVTTs() 177 const CXXRecordDecl *RD = Base.getBase(); in LayoutVTT() local [all …]
|
D | VTableBuilder.cpp | 330 const CXXRecordDecl *RD = Base.getBase(); in ComputeBaseOffsets() local 334 SubobjectNumber = ++SubobjectCounts[RD]; in ComputeBaseOffsets() 337 assert(!SubobjectOffsets.count(std::make_pair(RD, SubobjectNumber)) in ComputeBaseOffsets() 339 assert(!SubobjectLayoutClassOffsets.count(std::make_pair(RD, SubobjectNumber)) in ComputeBaseOffsets() 342 SubobjectOffsets[std::make_pair(RD, SubobjectNumber)] = Base.getBaseOffset(); in ComputeBaseOffsets() 343 SubobjectLayoutClassOffsets[std::make_pair(RD, SubobjectNumber)] = in ComputeBaseOffsets() 347 for (const auto &B : RD->bases()) { in ComputeBaseOffsets() 364 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in ComputeBaseOffsets() 380 const CXXRecordDecl *RD = Base.getBase(); in dump() local 381 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in dump() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 55 bool VisitRecordDecl(const RecordDecl *RD) { in checkASTDecl() 56 Checker->visitRecord(RD); in checkASTDecl() 74 void visitRecord(const RecordDecl *RD, uint64_t PadMultiplier = 1) const { in visitRecord() argument 75 if (shouldSkipDecl(RD)) in visitRecord() 78 auto &ASTContext = RD->getASTContext(); in visitRecord() 79 const ASTRecordLayout &RL = ASTContext.getASTRecordLayout(RD); in visitRecord() 82 CharUnits BaselinePad = calculateBaselinePad(RD, ASTContext, RL); in visitRecord() 85 CharUnits OptimalPad = calculateOptimalPad(RD, ASTContext, RL); in visitRecord() 93 reportRecord(RD, BaselinePad, OptimalPad); in visitRecord() 116 bool shouldSkipDecl(const RecordDecl *RD) const { in shouldSkipDecl() [all …]
|
D | LLVMConventionsChecker.cpp | 67 static bool IsClangType(const RecordDecl *RD) { in IsClangType() argument 68 return RD->getName() == "Type" && InNamespace(RD, "clang"); in IsClangType() 71 static bool IsClangDecl(const RecordDecl *RD) { in IsClangDecl() argument 72 return RD->getName() == "Decl" && InNamespace(RD, "clang"); in IsClangDecl() 75 static bool IsClangStmt(const RecordDecl *RD) { in IsClangStmt() argument 76 return RD->getName() == "Stmt" && InNamespace(RD, "clang"); in IsClangStmt() 79 static bool IsClangAttr(const RecordDecl *RD) { in IsClangAttr() argument 80 return RD->getName() == "Attr" && InNamespace(RD, "clang"); in IsClangAttr() 252 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit() local 253 for (auto *I : RD->fields()) in Visit()
|
/external/tcpdump/tests/ |
D | bgp-aigp-oobr-ssl.out | 21 nexthop: RD: 0:65536 (= 0.1.0.0), 172.17.0.5, nh-length: 12, no SNPA 22 RD: 18826:610 (= 0.0.2.98), 172.17.33.32/28, label:1026 (bottom) 64 nexthop: RD: 0:0 (= 0.0.0.0), 172.17.0.116, nh-length: 12, no SNPA 65 RD: 18826:640 (= 0.0.2.128), 172.17.33.64/28, label:1028 (bottom) 66 RD: 18826:640 (= 0.0.2.128), 172.17.33.80/28, label:1028 (bottom) 67 RD: 18826:640 (= 0.0.2.128), 173.17.34.0/28, label:1028 (bottom) 68 RD: 18826:640 (= 0.0.2.128), 172.17.34.16/28, label:1028 (bottom) 109 nexthop: RD: 0:0 (= 0.0.0.0), 172.17.97.5, nh-length: 12, no SNPA 110 RD: 18826:21034 (= 0.0.82.42), 172.17.30.192/28, label:377856 (bottom) 132 nexthop: RD: 0:4009754624 (= 239.0.0.0), 172.17.0.5, nh-length: 12, no SNPA [all …]
|
D | bgp-aigp-oobr-nossl.out | 21 nexthop: RD: 0:65536 (= 0.1.0.0), 172.17.0.5, nh-length: 12, no SNPA 22 RD: 18826:610 (= 0.0.2.98), 172.17.33.32/28, label:1026 (bottom) 64 nexthop: RD: 0:0 (= 0.0.0.0), 172.17.0.116, nh-length: 12, no SNPA 65 RD: 18826:640 (= 0.0.2.128), 172.17.33.64/28, label:1028 (bottom) 66 RD: 18826:640 (= 0.0.2.128), 172.17.33.80/28, label:1028 (bottom) 67 RD: 18826:640 (= 0.0.2.128), 173.17.34.0/28, label:1028 (bottom) 68 RD: 18826:640 (= 0.0.2.128), 172.17.34.16/28, label:1028 (bottom) 109 nexthop: RD: 0:0 (= 0.0.0.0), 172.17.97.5, nh-length: 12, no SNPA 110 RD: 18826:21034 (= 0.0.82.42), 172.17.30.192/28, label:377856 (bottom) 132 nexthop: RD: 0:4009754624 (= 239.0.0.0), 172.17.0.5, nh-length: 12, no SNPA [all …]
|
D | bgp_mvpn_6_and_7.out | 9 …Route-Type: Intra-AS I-PMSI (1), length: 0, RD: 62209:33686018 (= 2.2.2.2), Originator bogus addre… 12 Route-Type: Inter-AS I-PMSI (2), length: 2, RD: unknown RD format, Source-AS 368115805 13 Route-Type: Inter-AS I-PMSI (2), length: 2, RD: unknown RD format, Source-AS 335544320[|BGP]
|
/external/clang/lib/CodeGen/ |
D | CGVTT.cpp | 44 const CXXRecordDecl *RD) { in EmitVTTDefinition() argument 45 VTTBuilder Builder(CGM.getContext(), RD, /*GenerateDefinition=*/true); in EmitVTTDefinition() 56 VTables.push_back(GetAddrOfVTTVTable(*this, CGM, RD, *i, Linkage, in EmitVTTDefinition() 66 if (VTTVT.getBase() == RD) { in EmitVTTDefinition() 69 getItaniumVTableContext().getVTableLayout(RD).getAddressPoint( in EmitVTTDefinition() 101 CGM.setGlobalVisibility(VTT, RD); in EmitVTTDefinition() 104 llvm::GlobalVariable *CodeGenVTables::GetAddrOfVTT(const CXXRecordDecl *RD) { in GetAddrOfVTT() argument 105 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT() 110 .mangleCXXVTT(RD, Out); in GetAddrOfVTT() 114 (void) CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in GetAddrOfVTT() [all …]
|
D | CodeGenTypes.cpp | 47 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD, in addRecordTypeName() argument 52 OS << RD->getKindName() << '.'; in addRecordTypeName() 56 if (RD->getIdentifier()) { in addRecordTypeName() 59 if (RD->getDeclContext()) in addRecordTypeName() 60 RD->printQualifiedName(OS); in addRecordTypeName() 62 RD->printName(OS); in addRecordTypeName() 63 } else if (const TypedefNameDecl *TDD = RD->getTypedefNameForAnonDecl()) { in addRecordTypeName() 113 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, in isSafeToConvert() argument 117 if (!AlreadyChecked.insert(RD).second) in isSafeToConvert() 120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert() [all …]
|
D | CGVTables.h | 65 const CXXRecordDecl *RD, const VTableComponent *Components, 81 uint64_t getSubVTTIndex(const CXXRecordDecl *RD, BaseSubobject Base); 85 uint64_t getSecondaryVirtualPointerIndex(const CXXRecordDecl *RD, 91 GenerateConstructionVTable(const CXXRecordDecl *RD, const BaseSubobject &Base, 98 llvm::GlobalVariable *GetAddrOfVTT(const CXXRecordDecl *RD); 103 const CXXRecordDecl *RD); 112 void GenerateClassData(const CXXRecordDecl *RD); 114 bool isVTableExternal(const CXXRecordDecl *RD);
|
D | CodeGenTBAA.cpp | 182 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in CollectFields() local 183 if (RD->hasFlexibleArrayMember()) in CollectFields() 187 if (const CXXRecordDecl *Decl = dyn_cast<CXXRecordDecl>(RD)) in CollectFields() 191 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in CollectFields() 194 for (RecordDecl::field_iterator i = RD->field_begin(), in CollectFields() 195 e = RD->field_end(); i != e; ++i, ++idx) { in CollectFields() 233 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in isTBAAPathStruct() local 234 if (RD->hasFlexibleArrayMember()) in isTBAAPathStruct() 238 if (RD->isStruct() || RD->isClass()) in isTBAAPathStruct() 253 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in getTBAAStructTypeInfo() local [all …]
|
D | MicrosoftCXXABI.cpp | 56 RecordArgABI getRecordArgABI(const CXXRecordDecl *RD) const override; 93 std::vector<CharUnits> getVBPtrOffsets(const CXXRecordDecl *RD) override { in getVBPtrOffsets() argument 96 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in getVBPtrOffsets() 98 const VBTableGlobals &VBGlobals = enumerateVBTables(RD); in getVBPtrOffsets() 124 llvm::GlobalVariable *getMSCompleteObjectLocator(const CXXRecordDecl *RD, 155 bool canSpeculativelyEmitVTable(const CXXRecordDecl *RD) const override { in canSpeculativelyEmitVTable() 166 const CXXRecordDecl *RD) override; 169 const CXXRecordDecl *RD) override; 257 void emitVTableTypeMetadata(VPtrInfo *Info, const CXXRecordDecl *RD, 261 const CXXRecordDecl *RD) override; [all …]
|
D | CGVTables.cpp | 524 const CXXRecordDecl *RD, const VTableComponent *Components, in CreateVTableInitializer() argument 660 CodeGenVTables::GenerateConstructionVTable(const CXXRecordDecl *RD, in GenerateConstructionVTable() argument 670 Base.getBase(), Base.getBaseOffset(), BaseIsVirtual, RD)); in GenerateConstructionVTable() 679 .mangleCXXCtorVTable(RD, Base.getBaseOffset().getQuantity(), in GenerateConstructionVTable() 697 CGM.setGlobalVisibility(VTable, RD); in GenerateConstructionVTable() 718 const CXXRecordDecl *RD) { in shouldEmitAvailableExternallyVTable() argument 720 CGM.getCXXABI().canSpeculativelyEmitVTable(RD); in shouldEmitAvailableExternallyVTable() 727 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage() argument 728 if (!RD->isExternallyVisible()) in getVTableLinkage() 733 const CXXMethodDecl *keyFunction = Context.getCurrentKeyFunction(RD); in getVTableLinkage() [all …]
|
D | CGCXXABI.cpp | 32 bool CGCXXABI::canCopyArgument(const CXXRecordDecl *RD) const { in canCopyArgument() 35 if (RD->hasNonTrivialCopyConstructor() || RD->hasNonTrivialMoveConstructor()) in canCopyArgument() 39 if (RD->hasNonTrivialDestructor()) in canCopyArgument() 48 for (const CXXConstructorDecl *CD : RD->ctors()) { in canCopyArgument() 85 const CXXRecordDecl *RD = in EmitLoadOfMemberFunctionPointer() local 88 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); in EmitLoadOfMemberFunctionPointer() 290 const CXXRecordDecl *RD = cast<CXXRecordDecl>(MPD->getDeclContext()); in getMemberPointerPathAdjustment() local 292 const CXXRecordDecl *Base = RD; in getMemberPointerPathAdjustment() 298 RD = Path[I]; in getMemberPointerPathAdjustment() 307 const CXXRecordDecl *RD) { in EmitCtorCompleteObjectHandler() argument [all …]
|
/external/clang/include/clang/AST/ |
D | VTableBuilder.h | 68 static VTableComponent MakeRTTI(const CXXRecordDecl *RD) { in MakeRTTI() argument 69 return VTableComponent(CK_RTTI, reinterpret_cast<uintptr_t>(RD)); in MakeRTTI() 311 virtual void computeVTableRelatedInformation(const CXXRecordDecl *RD) = 0; 357 void computeVTableRelatedInformation(const CXXRecordDecl *RD) override; 363 const VTableLayout &getVTableLayout(const CXXRecordDecl *RD) { in getVTableLayout() argument 364 computeVTableRelatedInformation(RD); in getVTableLayout() 365 assert(VTableLayouts.count(RD) && "No layout for this record decl!"); in getVTableLayout() 367 return *VTableLayouts[RD]; in getVTableLayout() 387 CharUnits getVirtualBaseOffsetOffset(const CXXRecordDecl *RD, 401 VPtrInfo(const CXXRecordDecl *RD) in VPtrInfo() [all …]
|
/external/pcre/dist2/src/sljit/ |
D | sljitNativeARM_64.c | 51 #define RD(rd) (reg_map[rd]) macro 138 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((imm & 0xffff) << 5))); in emit_imm64_const() 139 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 16) & 0xffff) << 5) | (1 << 21))); in emit_imm64_const() 140 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21))); in emit_imm64_const() 141 return push_inst(compiler, MOVK | RD(dst) | ((imm >> 48) << 5) | (3 << 21)); in emit_imm64_const() 420 return push_inst(compiler, MOVZ | RD(dst) | (imm << 5)); in load_immediate() 423 return push_inst(compiler, MOVN | RD(dst) | ((~imm & 0xffff) << 5)); in load_immediate() 427 return push_inst(compiler, (MOVN ^ W_OP) | RD(dst) | ((~imm & 0xffff) << 5)); in load_immediate() 429 …return push_inst(compiler, (MOVN ^ W_OP) | RD(dst) | ((~imm & 0xffff0000l) >> (16 - 5)) | (1 << 21… in load_immediate() 432 return push_inst(compiler, (ORRI ^ W_OP) | RD(dst) | RN(TMP_ZERO) | bitmask); in load_immediate() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCJITInfo.cpp | 27 #define BUILD_ADDIS(RD,RS,IMM16) \ argument 28 ((15 << 26) | ((RD) << 21) | ((RS) << 16) | ((IMM16) & 65535)) 29 #define BUILD_ORI(RD,RS,UIMM16) \ argument 30 ((24 << 26) | ((RS) << 21) | ((RD) << 16) | ((UIMM16) & 65535)) 31 #define BUILD_ORIS(RD,RS,UIMM16) \ argument 32 ((25 << 26) | ((RS) << 21) | ((RD) << 16) | ((UIMM16) & 65535)) 33 #define BUILD_RLDICR(RD,RS,SH,ME) \ argument 34 ((30 << 26) | ((RS) << 21) | ((RD) << 16) | (((SH) & 31) << 11) | \ 44 #define BUILD_LIS(RD,IMM16) BUILD_ADDIS(RD,0,IMM16) argument 45 #define BUILD_SLDI(RD,RS,IMM6) BUILD_RLDICR(RD,RS,IMM6,63-IMM6) argument
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/Disassembler/ |
D | MBlazeDisassembler.cpp | 525 unsigned RD = getRD(insn); in getInstruction() local 536 if (RD == UNSUPPORTED || RA == UNSUPPORTED || RB == UNSUPPORTED) in getInstruction() 538 instr.addOperand(MCOperand::CreateReg(RD)); in getInstruction() 544 if (RD == UNSUPPORTED || RA == UNSUPPORTED || RB == UNSUPPORTED) in getInstruction() 546 instr.addOperand(MCOperand::CreateReg(RD)); in getInstruction() 556 if (RD == UNSUPPORTED) in getInstruction() 558 instr.addOperand(MCOperand::CreateReg(RD)); in getInstruction() 569 if (RD == UNSUPPORTED) in getInstruction() 571 instr.addOperand(MCOperand::CreateReg(RD)); in getInstruction() 578 if (RD == UNSUPPORTED || RA == UNSUPPORTED) in getInstruction() [all …]
|
/external/llvm/test/CodeGen/Mips/msa/ |
D | elm_copy.ll | 30 ; MIPS-ANY-DAG: copy_s.b [[RD:\$[0-9]+]], [[WS]][1] 33 ; MIPS-ANY-DAG: sw [[RD]], 0([[RES]]) 53 ; MIPS-ANY-DAG: copy_s.h [[RD:\$[0-9]+]], [[WS]][1] 56 ; MIPS-ANY-DAG: sw [[RD]], 0([[RES]]) 76 ; MIPS-ANY-DAG: copy_s.w [[RD:\$[0-9]+]], [[WS]][1] 79 ; MIPS-ANY-DAG: sw [[RD]], 0([[RES]]) 102 ; MIPS64-DAG: copy_s.d [[RD:\$[0-9]+]], [[WS]][1] 107 ; MIPS64-DAG: sd [[RD]], 0([[RES]]) 127 ; MIPS-ANY-DAG: copy_u.b [[RD:\$[0-9]+]], [[WS]][1] 130 ; MIPS-ANY-DAG: sw [[RD]], 0([[RES]]) [all …]
|