/external/llvm/tools/lli/ |
D | RemoteTarget.cpp | 26 sys::MemoryBlock Mem = sys::Memory::AllocateRWX(Size, Prev, &ErrorMsg); in allocateSpace() local 27 if (Mem.base() == NULL) in allocateSpace() 29 if ((uintptr_t)Mem.base() % Alignment) { in allocateSpace() 33 Address = reinterpret_cast<uint64_t>(Mem.base()); in allocateSpace() 39 sys::MemoryBlock Mem((void*)Address, Size); in loadData() local 40 sys::Memory::setExecutable(Mem, &ErrorMsg); in loadData()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 195 } Mem; member 232 return Mem.Disp; in getMemDisp() 236 return Mem.SegReg; in getMemSegReg() 240 return Mem.BaseReg; in getMemBaseReg() 244 return Mem.IndexReg; in getMemIndexReg() 248 return Mem.Scale; in getMemScale() 328 return Kind == Memory && (!Mem.Size || Mem.Size == 8); in isMem8() 331 return Kind == Memory && (!Mem.Size || Mem.Size == 16); in isMem16() 334 return Kind == Memory && (!Mem.Size || Mem.Size == 32); in isMem32() 337 return Kind == Memory && (!Mem.Size || Mem.Size == 64); in isMem64() [all …]
|
/external/clang/lib/AST/ |
D | DeclTemplate.cpp | 64 void *Mem = C.Allocate(Size, Align); in Create() local 65 return new (Mem) TemplateParameterList(TemplateLoc, LAngleLoc, Params, in Create() 238 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FunctionTemplateDecl)); in CreateDeserialized() local 239 return new (Mem) FunctionTemplateDecl(0, SourceLocation(), DeclarationName(), in CreateDeserialized() 303 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ClassTemplateDecl)); in CreateDeserialized() local 304 return new (Mem) ClassTemplateDecl(EmptyShell()); in CreateDeserialized() 469 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(TemplateTypeParmDecl)); in CreateDeserialized() local 470 return new (Mem) TemplateTypeParmDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized() 549 void *Mem = C.Allocate(Size); in Create() local 550 return new (Mem) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, in Create() [all …]
|
D | DeclGroup.cpp | 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment); in Create() local 24 new (Mem) DeclGroup(NumDecls, Decls); in Create() 25 return static_cast<DeclGroup*>(Mem); in Create()
|
D | ExprCXX.cpp | 225 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) + in Create() local 227 return new (Mem) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, in Create() 241 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty() local 242 UnresolvedLookupExpr *E = new (Mem) UnresolvedLookupExpr(EmptyShell()); in CreateEmpty() 385 void *Mem = C.Allocate(size); in Create() local 386 return new (Mem) DependentScopeDeclRefExpr(C.DependentTy, QualifierLoc, in Create() 397 void *Mem = C.Allocate(size); in CreateEmpty() local 399 = new (Mem) DependentScopeDeclRefExpr(QualType(), NestedNameSpecifierLoc(), in CreateEmpty() 677 void *Mem = C.Allocate(sizeof(CXXDefaultArgExpr) + sizeof(Stmt *)); in Create() local 678 return new (Mem) CXXDefaultArgExpr(CXXDefaultArgExprClass, Loc, Param, in Create() [all …]
|
D | DeclCXX.cpp | 34 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(AccessSpecDecl)); in CreateDeserialized() local 35 return new (Mem) AccessSpecDecl(EmptyShell()); in CreateDeserialized() 104 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXRecordDecl)); in CreateDeserialized() local 105 return new (Mem) CXXRecordDecl(CXXRecord, TTK_Struct, 0, SourceLocation(), in CreateDeserialized() 1354 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXMethodDecl)); in CreateDeserialized() local 1355 return new (Mem) CXXMethodDecl(CXXMethod, 0, SourceLocation(), in CreateDeserialized() 1563 void *Mem = Context.Allocate(sizeof(CXXCtorInitializer) + in Create() local 1566 return new (Mem) CXXCtorInitializer(Context, Member, MemberLoc, L, Init, R, in Create() 1612 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXConstructorDecl)); in CreateDeserialized() local 1613 return new (Mem) CXXConstructorDecl(0, SourceLocation(),DeclarationNameInfo(), in CreateDeserialized() [all …]
|
D | DeclObjC.cpp | 432 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCMethodDecl)); in CreateDeserialized() local 433 return new (Mem) ObjCMethodDecl(SourceLocation(), SourceLocation(), in CreateDeserialized() 729 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCInterfaceDecl)); in CreateDeserialized() local 730 return new (Mem) ObjCInterfaceDecl(0, SourceLocation(), 0, SourceLocation(), in CreateDeserialized() 957 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCIvarDecl)); in CreateDeserialized() local 958 return new (Mem) ObjCIvarDecl(0, SourceLocation(), SourceLocation(), 0, in CreateDeserialized() 1001 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCAtDefsFieldDecl)); in CreateDeserialized() local 1002 return new (Mem) ObjCAtDefsFieldDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized() 1036 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCProtocolDecl)); in CreateDeserialized() local 1037 return new (Mem) ObjCProtocolDecl(0, 0, SourceLocation(), SourceLocation(), in CreateDeserialized() [all …]
|
D | Decl.cpp | 1193 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(VarDecl)); in CreateDeserialized() local 1194 return new (Mem) VarDecl(Var, 0, SourceLocation(), SourceLocation(), 0, in CreateDeserialized() 1567 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ParmVarDecl)); in CreateDeserialized() local 1568 return new (Mem) ParmVarDecl(ParmVar, 0, SourceLocation(), SourceLocation(), in CreateDeserialized() 2490 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FieldDecl)); in CreateDeserialized() local 2491 return new (Mem) FieldDecl(Field, 0, SourceLocation(), SourceLocation(), in CreateDeserialized() 2667 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(EnumDecl)); in CreateDeserialized() local 2668 return new (Mem) EnumDecl(0, SourceLocation(), SourceLocation(), 0, 0, in CreateDeserialized() 2741 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(RecordDecl)); in CreateDeserialized() local 2742 return new (Mem) RecordDecl(Record, TTK_Struct, 0, SourceLocation(), in CreateDeserialized() [all …]
|
D | DeclFriend.cpp | 52 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FriendDecl)); in CreateDeserialized() local 53 return new (Mem) FriendDecl(EmptyShell()); in CreateDeserialized()
|
D | Expr.cpp | 355 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in Create() local 356 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create() 374 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in CreateEmpty() local 375 return new (Mem) DeclRefExpr(EmptyShell()); in CreateEmpty() 652 void *Mem = C.Allocate(sizeof(StringLiteral)+ in Create() local 655 StringLiteral *SL = new (Mem) StringLiteral(Ty); in Create() 669 void *Mem = C.Allocate(sizeof(StringLiteral)+ in CreateEmpty() local 672 StringLiteral *SL = new (Mem) StringLiteral(QualType()); in CreateEmpty() 1129 void *Mem = C.Allocate(sizeof(OffsetOfExpr) + in Create() local 1133 return new (Mem) OffsetOfExpr(C, type, OperatorLoc, tsi, comps, exprs, in Create() [all …]
|
D | Stmt.cpp | 280 void *Mem = C.Allocate(sizeof(AttributedStmt) + in Create() local 283 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create() 288 void *Mem = C.Allocate(sizeof(AttributedStmt) + in CreateEmpty() local 291 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty() 757 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in Create() local 758 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create() 767 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in CreateEmpty() local 768 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty() 789 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create() local 790 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers, numHandlers); in Create() [all …]
|
D | TemplateBase.cpp | 66 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in TemplateArgument() local 67 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in TemplateArgument() 68 Integer.pVal = static_cast<uint64_t *>(Mem); in TemplateArgument() 560 void *Mem = C.Allocate(size, llvm::alignOf<ASTTemplateArgumentListInfo>()); in Create() local 561 ASTTemplateArgumentListInfo *TAI = new (Mem) ASTTemplateArgumentListInfo(); in Create()
|
/external/clang/test/CodeGen/ |
D | empty-union-init.c | 4 struct Mem { struct 9 struct Mem *columnMem(){ in columnMem() argument 10 static const struct Mem nullMem = { {} }; in columnMem()
|
/external/valgrind/main/none/tests/amd64/ |
D | redundantRexW.c | 24 Mem; typedef 50 void pp_Mem ( char* who, Mem* mem ) { in pp_Mem() 72 void xor_Mem ( Mem* src, Mem* dst ) { in xor_Mem() 78 void setup_regs_mem ( XMMRegs* regs, Mem* mem ) { in setup_regs_mem() 91 void before_test ( XMMRegs* regs, Mem* mem ) { in before_test() 95 void after_test ( char* who, XMMRegs* regs, Mem* mem ) { in after_test() 97 Mem mdiff; in after_test() 170 Mem* mem; in main() 172 mem = memalign16(sizeof(Mem) + 16); in main()
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 107 } Mem; member 131 Mem = o.Mem; in MBlazeOperand() 162 return Mem.Base; in getMemBase() 167 return Mem.Off; in getMemOff() 172 return Mem.OffReg; in getMemOffReg() 261 Op->Mem.Base = Base; in CreateMem() 262 Op->Mem.Off = Off; in CreateMem() 263 Op->Mem.OffReg = 0; in CreateMem() 272 Op->Mem.Base = Base; in CreateMem() 273 Op->Mem.OffReg = Off; in CreateMem() [all …]
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 71 char *Mem = static_cast<char*>(operator new(sizeof(T) + Name.size() + 1)); in GetNamedBuffer() local 72 CopyStringRef(Mem + sizeof(T), Name); in GetNamedBuffer() 73 return new (Mem) T(Buffer, RequiresNullTerminator); in GetNamedBuffer() 128 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local 129 if (!Mem) return 0; in getNewUninitMemBuffer() 132 CopyStringRef(Mem + sizeof(MemoryBufferMem), BufferName); in getNewUninitMemBuffer() 135 char *Buf = Mem + AlignedStringLen; in getNewUninitMemBuffer() 138 return new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
|
/external/llvm/unittests/Bitcode/ |
D | BitReaderTest.cpp | 54 SmallString<1024> Mem; in TEST() local 55 writeModuleToBuffer(Mem); in TEST() 56 MemoryBuffer *Buffer = MemoryBuffer::getMemBuffer(Mem.str(), "test", false); in TEST()
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-04-29-RegAllocAssert.ll | 33 …*, void (%struct.sqlite3_context*, i32, %struct.Mem**)*, void (%struct.sqlite3_context*, i32, %str… 39 …%struct.Mem = type { %struct.CountCtx, double, %struct.sqlite3*, i8*, i32, i16, i8, i8, void (i8*)… 53 …Mem**, %struct.Mem*, i32, %struct.Cursor**, i32, %struct.Mem*, i8**, i32, i32, i32, %struct.Mem*, … 58 …qlite3*, i32, i8*)*, void (i8*, %struct.sqlite3*, i32, i8*)*, i8*, %struct.Mem*, i8*, i8*, %2, i32… 60 …%struct.sqlite3_context = type { %struct.FuncDef*, %struct.VdbeFunc*, %struct.Mem, %struct.Mem*, i… 66 …Mem**)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sq…
|
/external/llvm/test/Transforms/GVN/ |
D | 2009-01-22-SortInvalidation.ll | 30 …*, void (%struct.sqlite3_context*, i32, %struct.Mem**)*, void (%struct.sqlite3_context*, i32, %str… 36 …%struct.Mem = type { %struct.CountCtx, double, %struct.sqlite3*, i8*, i32, i16, i8, i8, void (i8*)… 54 …Mem**, %struct.Mem*, i32, %struct.Cursor**, i32, %struct.Mem*, i8**, i32, i32, i32, %struct.Mem*, … 60 …qlite3*, i32, i8*)*, void (i8*, %struct.sqlite3*, i32, i8*)*, i8*, %struct.Mem*, i8*, i8*, %struct… 62 …%struct.sqlite3_context = type { %struct.FuncDef*, %struct.VdbeFunc*, %struct.Mem, %struct.Mem*, i… 68 …Mem**)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sq…
|
/external/oprofile/events/x86-64/hammer/ |
D | unit_masks | 127 0xa3 Requests Local I/O to Local (I/O or Mem) 132 0xac Requests Local CPU to Local (I/O or Mem) 133 0xaf Requests Local (CPU or I/O) to Local (I/O or Mem) 136 0x93 Requests Local I/O to Remote (I/O or Mem) 141 0x9c Requests Local CPU to Remote (I/O or Mem) 142 0x9f Requests Local (CPU or I/O) to Remote (I/O or Mem) 145 0xb3 Requests Local I/O to Any (I/O or Mem) 150 0xbc Requests Local CPU to Any (I/O or Mem) 151 0xbf Requests Local (CPU or I/O) to Any (I/O or Mem)
|
/external/oprofile/events/x86-64/family11h/ |
D | unit_masks | 133 0xa3 Requests Local I/O to Local (I/O or Mem) 138 0xac Requests Local CPU to Local (I/O or Mem) 139 0xaf Requests Local (CPU or I/O) to Local (I/O or Mem) 142 0x93 Requests Local I/O to Remote (I/O or Mem) 147 0x9c Requests Local CPU to Remote (I/O or Mem) 148 0x9f Requests Local (CPU or I/O) to Remote (I/O or Mem) 151 0xb3 Requests Local I/O to Any (I/O or Mem) 156 0xbc Requests Local CPU to Any (I/O or Mem) 157 0xbf Requests Local (CPU or I/O) to Any (I/O or Mem)
|
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/ |
D | vectorbuffer.cpp | 21 Mem::Copy(iSucc, &aNode, sizeof(TNode*)); in Terminator() 52 Mem::Copy(start, aData.Ptr(), aData.Size()); in New()
|
/external/clang/lib/Sema/ |
D | TypeLocBuilder.h | 124 void *Mem = Context.Allocate(FullDataSize); in getTypeLocInContext() local 125 memcpy(Mem, &Buffer[Index], FullDataSize); in getTypeLocInContext() 126 return TypeLoc(T, Mem); in getTypeLocInContext()
|
D | CodeCompleteConsumer.cpp | 257 char *Mem = (char *)Allocate(String.size() + 1, 1); in CopyString() local 258 std::copy(String.begin(), String.end(), Mem); in CopyString() 259 Mem[String.size()] = 0; in CopyString() 260 return Mem; in CopyString() 334 void *Mem = getAllocator().Allocate( in TakeString() local 339 = new (Mem) CodeCompletionString(Chunks.data(), Chunks.size(), in TakeString()
|
/external/clang/include/clang/AST/ |
D | CommentSema.h | 80 T *Mem = Allocator.Allocate<T>(Size); in copyArray() local 81 std::uninitialized_copy(Source.begin(), Source.end(), Mem); in copyArray() 82 return llvm::makeArrayRef(Mem, Size); in copyArray()
|