/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 7 "move $" #RD ", %1\n\t" \ 10 "addi $" #RD ", $" #RD", 5\n\t" \ 12 "addi $" #RD ", $" #RD", 1\n\t" \ 13 "move %0, $" #RD "\n\t" \ 16 : #RD, "cc", "memory" \ 22 #define TESTINST2(RSval, RD) \ argument 26 "move $" #RD ", %1\n\t" \ 28 "addi $" #RD ", $" #RD", 3\n\t" \ 29 "addi $" #RD ", $" #RD", 5\n\t" \ [all …]
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 87 bool getExternalNVBaseOffset(const CXXRecordDecl *RD, CharUnits &BaseOffset) { in getExternalNVBaseOffset() 88 auto Known = BaseOffsets.find(RD); in getExternalNVBaseOffset() 95 bool getExternalVBaseOffset(const CXXRecordDecl *RD, CharUnits &BaseOffset) { in getExternalVBaseOffset() 96 auto Known = VirtualBaseOffsets.find(RD); in getExternalVBaseOffset() 126 void AddSubobjectAtOffset(const CXXRecordDecl *RD, CharUnits Offset); 131 void UpdateEmptyFieldSubobjects(const CXXRecordDecl *RD, 152 bool CanPlaceSubobjectAtOffset(const CXXRecordDecl *RD, 158 bool CanPlaceFieldSubobjectAtOffset(const CXXRecordDecl *RD, 232 EmptySubobjectMap::CanPlaceSubobjectAtOffset(const CXXRecordDecl *RD, in CanPlaceSubobjectAtOffset() argument 235 if (!RD->isEmpty()) in CanPlaceSubobjectAtOffset() [all …]
|
D | MicrosoftCXXABI.cpp | 83 bool isNearlyEmpty(const CXXRecordDecl *RD) const override { in isNearlyEmpty() 85 if (!RD->isDynamicClass()) in isNearlyEmpty() 88 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in isNearlyEmpty() 108 getCopyConstructorForExceptionObject(CXXRecordDecl *RD) override { in getCopyConstructorForExceptionObject() argument 109 return RecordToCopyCtor[RD]; in getCopyConstructorForExceptionObject() 113 addCopyConstructorForExceptionObject(CXXRecordDecl *RD, in addCopyConstructorForExceptionObject() argument 116 assert(RecordToCopyCtor[RD] == nullptr || RecordToCopyCtor[RD] == CD); in addCopyConstructorForExceptionObject() 117 RecordToCopyCtor[RD] = CD; in addCopyConstructorForExceptionObject() 129 static bool usesMultipleInheritanceModel(const CXXRecordDecl *RD) { in usesMultipleInheritanceModel() argument 130 while (RD->getNumBases() > 0) { 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 …]
|
D | ItaniumCXXABI.cpp | 124 bool isNearlyEmpty(const CXXRecordDecl *RD) const override { in isNearlyEmpty() 127 if (!RD->isDynamicClass()) in isNearlyEmpty() 130 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in isNearlyEmpty() 137 getCopyConstructorForExceptionObject(CXXRecordDecl *RD) override { in getCopyConstructorForExceptionObject() argument 141 void addCopyConstructorForExceptionObject(CXXRecordDecl *RD, in addCopyConstructorForExceptionObject() argument
|
/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() 115 (void) CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in GetAddrOfVTT() [all …]
|
D | CodeGenTypes.cpp | 48 void CodeGenTypes::addRecordTypeName(const RecordDecl *RD, in addRecordTypeName() argument 53 OS << RD->getKindName() << '.'; in addRecordTypeName() 57 if (RD->getIdentifier()) { in addRecordTypeName() 60 if (RD->getDeclContext()) in addRecordTypeName() 61 RD->printQualifiedName(OS); in addRecordTypeName() 63 RD->printName(OS); in addRecordTypeName() 64 } else if (const TypedefNameDecl *TDD = RD->getTypedefNameForAnonDecl()) { in addRecordTypeName() 114 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT, in isSafeToConvert() argument 118 if (!AlreadyChecked.insert(RD).second) in isSafeToConvert() 121 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, 90 uint64_t getAddressPoint(BaseSubobject Base, const CXXRecordDecl *RD); 95 GenerateConstructionVTable(const CXXRecordDecl *RD, const BaseSubobject &Base, 102 llvm::GlobalVariable *GetAddrOfVTT(const CXXRecordDecl *RD); 107 const CXXRecordDecl *RD); 116 void GenerateClassData(const CXXRecordDecl *RD); 118 bool isVTableExternal(const CXXRecordDecl *RD);
|
D | CodeGenTBAA.cpp | 179 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in CollectFields() local 180 if (RD->hasFlexibleArrayMember()) in CollectFields() 184 if (const CXXRecordDecl *Decl = dyn_cast<CXXRecordDecl>(RD)) in CollectFields() 188 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD); in CollectFields() 191 for (RecordDecl::field_iterator i = RD->field_begin(), in CollectFields() 192 e = RD->field_end(); i != e; ++i, ++idx) { in CollectFields() 230 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in isTBAAPathStruct() local 231 if (RD->hasFlexibleArrayMember()) in isTBAAPathStruct() 235 if (RD->isStruct() || RD->isClass()) in isTBAAPathStruct() 250 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in getTBAAStructTypeInfo() local [all …]
|
D | MicrosoftCXXABI.cpp | 55 RecordArgABI getRecordArgABI(const CXXRecordDecl *RD) const override; 83 llvm::GlobalVariable *getMSCompleteObjectLocator(const CXXRecordDecl *RD, 117 const CXXRecordDecl *RD) override; 120 const CXXRecordDecl *RD) override; 209 const CXXRecordDecl *RD) override; 220 llvm::GlobalVariable *getAddrOfVTable(const CXXRecordDecl *RD, 241 void emitVirtualInheritanceTables(const CXXRecordDecl *RD) override; 244 getAddrOfVBTable(const VPtrInfo &VBT, const CXXRecordDecl *RD, 247 void emitVBTableDefinition(const VPtrInfo &VBT, const CXXRecordDecl *RD, 490 const CXXRecordDecl *RD, llvm::Value *Base, [all …]
|
D | CGCXXABI.cpp | 31 bool CGCXXABI::canCopyArgument(const CXXRecordDecl *RD) const { in canCopyArgument() 34 if (RD->hasNonTrivialCopyConstructor() || RD->hasNonTrivialMoveConstructor()) in canCopyArgument() 38 if (RD->hasNonTrivialDestructor()) in canCopyArgument() 47 for (const CXXConstructorDecl *CD : RD->ctors()) { in canCopyArgument() 82 const CXXRecordDecl *RD = in EmitLoadOfMemberFunctionPointer() local 85 CGM.getTypes().arrangeCXXMethodType(RD, FPT)); in EmitLoadOfMemberFunctionPointer() 277 const CXXRecordDecl *RD = cast<CXXRecordDecl>(MPD->getDeclContext()); in getMemberPointerPathAdjustment() local 279 const CXXRecordDecl *Base = RD; in getMemberPointerPathAdjustment() 285 RD = Path[I]; in getMemberPointerPathAdjustment() 294 const CXXRecordDecl *RD) { in EmitCtorCompleteObjectHandler() argument
|
D | CGRecordLayoutBuilder.cpp | 84 const CXXRecordDecl *RD; member 90 const CXXRecordDecl *RD) in MemberInfo() 91 : Offset(Offset), Kind(Kind), Data(Data), RD(RD) {} in MemberInfo() 127 llvm::Type *getStorageType(const CXXRecordDecl *RD) { in getStorageType() 128 return Types.getCGRecordLayout(RD).getBaseSubobjectLLVMType(); in getStorageType() 147 bool isZeroInitializable(const RecordDecl *RD) { in isZeroInitializable() 148 return Types.getCGRecordLayout(RD).isZeroInitializable(); in isZeroInitializable() 186 const CXXRecordDecl *RD; member 208 RD(dyn_cast<CXXRecordDecl>(D)), in CGRecordLowering() 261 if (RD) { in lower() [all …]
|
D | CGCXX.cpp | 256 const CXXRecordDecl *RD) { in BuildAppleKextVirtualCall() argument 261 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in BuildAppleKextVirtualCall() 267 CGM.getItaniumVTableContext().getVTableLayout(RD) in BuildAppleKextVirtualCall() 268 .getAddressPoint(BaseSubobject(RD, CharUnits::Zero())); in BuildAppleKextVirtualCall() 289 const auto *RD = cast<CXXRecordDecl>(RT->getDecl()); in BuildAppleKextVirtualCall() local 292 return BuildAppleKextVirtualDestructorCall(DD, Dtor_Complete, RD); in BuildAppleKextVirtualCall() 294 return ::BuildAppleKextVirtualCall(*this, MD, Ty, RD); in BuildAppleKextVirtualCall() 303 const CXXRecordDecl *RD) { in BuildAppleKextVirtualDestructorCall() argument 313 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD); in BuildAppleKextVirtualDestructorCall()
|
D | CGVTables.cpp | 505 const CXXRecordDecl *RD, const VTableComponent *Components, in CreateVTableInitializer() argument 619 CodeGenVTables::GenerateConstructionVTable(const CXXRecordDecl *RD, in GenerateConstructionVTable() argument 629 Base.getBase(), Base.getBaseOffset(), BaseIsVirtual, RD)); in GenerateConstructionVTable() 638 .mangleCXXCtorVTable(RD, Base.getBaseOffset().getQuantity(), in GenerateConstructionVTable() 657 CGM.setGlobalVisibility(VTable, RD); in GenerateConstructionVTable() 681 CodeGenModule::getVTableLinkage(const CXXRecordDecl *RD) { in getVTableLinkage() argument 682 if (!RD->isExternallyVisible()) in getVTableLinkage() 687 const CXXMethodDecl *keyFunction = Context.getCurrentKeyFunction(RD); in getVTableLinkage() 688 if (keyFunction && !RD->hasAttr<DLLImportAttr>()) { in getVTableLinkage() 730 if (RD->hasAttr<DLLExportAttr>()) { in getVTableLinkage() [all …]
|
D | CGDebugInfo.cpp | 232 StringRef CGDebugInfo::getClassName(const RecordDecl *RD) { in getClassName() argument 235 if (!isa<ClassTemplateSpecializationDecl>(RD)) in getClassName() 236 return RD->getName(); in getClassName() 241 RD->getNameForDiagnostic(OS, CGM.getContext().getPrintingPolicy(), in getClassName() 624 static llvm::dwarf::Tag getTagForRecord(const RecordDecl *RD) { in getTagForRecord() argument 626 if (RD->isStruct() || RD->isInterface()) in getTagForRecord() 628 else if (RD->isUnion()) in getTagForRecord() 633 assert(RD->isClass()); in getTagForRecord() 643 const RecordDecl *RD = Ty->getDecl(); in getOrCreateRecordFwdDecl() local 644 if (llvm::MDType *T = getTypeOrNull(CGM.getContext().getRecordType(RD))) in getOrCreateRecordFwdDecl() [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() 286 virtual void computeVTableRelatedInformation(const CXXRecordDecl *RD) = 0; 332 void computeVTableRelatedInformation(const CXXRecordDecl *RD) override; 338 const VTableLayout &getVTableLayout(const CXXRecordDecl *RD) { in getVTableLayout() argument 339 computeVTableRelatedInformation(RD); in getVTableLayout() 340 assert(VTableLayouts.count(RD) && "No layout for this record decl!"); in getVTableLayout() 342 return *VTableLayouts[RD]; in getVTableLayout() 362 CharUnits getVirtualBaseOffsetOffset(const CXXRecordDecl *RD, 376 VPtrInfo(const CXXRecordDecl *RD) in VPtrInfo() [all …]
|
/external/pcre/dist/sljit/ |
D | sljitNativeARM_64.c | 52 #define RD(rd) (reg_map[rd]) macro 139 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((imm & 0xffff) << 5))); in emit_imm64_const() 140 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 16) & 0xffff) << 5) | (1 << 21))); in emit_imm64_const() 141 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21))); in emit_imm64_const() 142 return push_inst(compiler, MOVK | RD(dst) | ((imm >> 48) << 5) | (3 << 21)); in emit_imm64_const() 421 return push_inst(compiler, MOVZ | RD(dst) | (imm << 5)); in load_immediate() 424 return push_inst(compiler, MOVN | RD(dst) | ((~imm & 0xffff) << 5)); in load_immediate() 428 return push_inst(compiler, (MOVN ^ W_OP) | RD(dst) | ((~imm & 0xffff) << 5)); in load_immediate() 430 …return push_inst(compiler, (MOVN ^ W_OP) | RD(dst) | ((~imm & 0xffff0000l) >> (16 - 5)) | (1 << 21… in load_immediate() 433 return push_inst(compiler, (ORRI ^ W_OP) | RD(dst) | RN(TMP_ZERO) | bitmask); in load_immediate() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
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() 253 const RecordDecl *RD = RT->getDecl()->getDefinition(); in Visit() local 254 for (auto *I : RD->fields()) in Visit()
|
/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 …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcAsmPrinter.cpp | 121 MCOperand &Imm, MCOperand &RD, in EmitSETHI() argument 126 SETHIInst.addOperand(RD); in EmitSETHI() 132 MCOperand &RS1, MCOperand &Src2, MCOperand &RD, in EmitBinary() argument 137 Inst.addOperand(RD); in EmitBinary() 144 MCOperand &RS1, MCOperand &Imm, MCOperand &RD, in EmitOR() argument 146 EmitBinary(OutStreamer, SP::ORri, RS1, Imm, RD, STI); in EmitOR() 150 MCOperand &RS1, MCOperand &RS2, MCOperand &RD, in EmitADD() argument 152 EmitBinary(OutStreamer, SP::ADDrr, RS1, RS2, RD, STI); in EmitADD() 156 MCOperand &RS1, MCOperand &Imm, MCOperand &RD, in EmitSHL() argument 158 EmitBinary(OutStreamer, SP::SLLri, RS1, Imm, RD, STI); in EmitSHL() [all …]
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 758 static long long visitRecordForValidation(const RecordDecl *RD) { in visitRecordForValidation() argument 759 for (const auto *I : RD->fields()){ in visitRecordForValidation() 781 const RecordDecl *RD = in validateFieldParentType() local 784 if (!RD || RD->isInvalidDecl()) in validateFieldParentType() 786 RD = RD->getDefinition(); in validateFieldParentType() 787 if (!RD) in validateFieldParentType() 789 if (RD->isInvalidDecl()) in validateFieldParentType() 798 long long Error = visitRecordForValidation(RD); in validateFieldParentType() 816 const RecordDecl *RD = in clang_Type_getOffsetOf() local 819 RD = RD->getDefinition(); in clang_Type_getOffsetOf() [all …]
|