Home
last modified time | relevance | path

Searched refs:Mem (Results 1 – 25 of 73) sorted by relevance

123

/external/llvm/tools/lli/
DRemoteTarget.cpp26 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()
44 sys::MemoryBlock Mem((void*)Address, Size); in loadCode() local
45 sys::Memory::setExecutable(Mem, &ErrorMsg); in loadCode()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp201 struct MemOp Mem; member
246 return Mem.Disp; in getMemDisp()
250 return Mem.SegReg; in getMemSegReg()
254 return Mem.BaseReg; in getMemBaseReg()
258 return Mem.IndexReg; in getMemIndexReg()
262 return Mem.Scale; in getMemScale()
342 return Mem.Size; in getMemSize()
355 return Mem.NeedSizeDir; in needSizeDirective()
360 return Kind == Memory && (!Mem.Size || Mem.Size == 8); in isMem8()
363 return Kind == Memory && (!Mem.Size || Mem.Size == 16); in isMem16()
[all …]
/external/clang/lib/AST/
DDeclTemplate.cpp64 void *Mem = C.Allocate(Size, Align); in Create() local
65 return new (Mem) TemplateParameterList(TemplateLoc, LAngleLoc, Params, in Create()
236 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FunctionTemplateDecl)); in CreateDeserialized() local
237 return new (Mem) FunctionTemplateDecl(0, SourceLocation(), DeclarationName(), in CreateDeserialized()
301 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ClassTemplateDecl)); in CreateDeserialized() local
302 return new (Mem) ClassTemplateDecl(EmptyShell()); in CreateDeserialized()
467 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(TemplateTypeParmDecl)); in CreateDeserialized() local
468 return new (Mem) TemplateTypeParmDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized()
547 void *Mem = C.Allocate(Size); in Create() local
548 return new (Mem) NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, in Create()
[all …]
DDeclFriend.cpp51 void *Mem = C.Allocate(Size); in Create() local
52 FriendDecl *FD = new (Mem) FriendDecl(DC, L, Friend, FriendL, in Create()
62 void *Mem = AllocateDeserializedDecl(C, ID, Size); in CreateDeserialized() local
63 return new (Mem) FriendDecl(EmptyShell(), FriendTypeNumTPLists); in CreateDeserialized()
DDeclGroup.cpp23 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()
DDeclCXX.cpp34 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(AccessSpecDecl)); in CreateDeserialized() local
35 return new (Mem) AccessSpecDecl(EmptyShell()); in CreateDeserialized()
112 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXRecordDecl)); in CreateDeserialized() local
113 CXXRecordDecl *R = new (Mem) CXXRecordDecl(CXXRecord, TTK_Struct, 0, in CreateDeserialized()
1323 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXMethodDecl)); in CreateDeserialized() local
1324 return new (Mem) CXXMethodDecl(CXXMethod, 0, SourceLocation(), in CreateDeserialized()
1533 void *Mem = Context.Allocate(sizeof(CXXCtorInitializer) + in Create() local
1536 return new (Mem) CXXCtorInitializer(Context, Member, MemberLoc, L, Init, R, in Create()
1582 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(CXXConstructorDecl)); in CreateDeserialized() local
1583 return new (Mem) CXXConstructorDecl(0, SourceLocation(),DeclarationNameInfo(), in CreateDeserialized()
[all …]
DExprCXX.cpp240 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) + in Create() local
242 return new (Mem) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, in Create()
256 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty() local
257 UnresolvedLookupExpr *E = new (Mem) UnresolvedLookupExpr(EmptyShell()); in CreateEmpty()
400 void *Mem = C.Allocate(size); in Create() local
401 return new (Mem) DependentScopeDeclRefExpr(C.DependentTy, QualifierLoc, in Create()
412 void *Mem = C.Allocate(size); in CreateEmpty() local
414 = new (Mem) DependentScopeDeclRefExpr(QualType(), NestedNameSpecifierLoc(), in CreateEmpty()
702 void *Mem = C.Allocate(sizeof(CXXDefaultArgExpr) + sizeof(Stmt *)); in Create() local
703 return new (Mem) CXXDefaultArgExpr(CXXDefaultArgExprClass, Loc, Param, in Create()
[all …]
DDecl.cpp1475 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(VarDecl)); in CreateDeserialized() local
1476 return new (Mem) VarDecl(Var, 0, SourceLocation(), SourceLocation(), 0, in CreateDeserialized()
1889 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ParmVarDecl)); in CreateDeserialized() local
1890 return new (Mem) ParmVarDecl(ParmVar, 0, SourceLocation(), SourceLocation(), in CreateDeserialized()
2771 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(FieldDecl)); in CreateDeserialized() local
2772 return new (Mem) FieldDecl(Field, 0, SourceLocation(), SourceLocation(), in CreateDeserialized()
2958 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(EnumDecl)); in CreateDeserialized() local
2959 EnumDecl *Enum = new (Mem) EnumDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized()
3037 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(RecordDecl)); in CreateDeserialized() local
3038 RecordDecl *R = new (Mem) RecordDecl(Record, TTK_Struct, 0, SourceLocation(), in CreateDeserialized()
[all …]
DDeclObjC.cpp492 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCMethodDecl)); in CreateDeserialized() local
493 return new (Mem) ObjCMethodDecl(SourceLocation(), SourceLocation(), in CreateDeserialized()
1023 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCInterfaceDecl)); in CreateDeserialized() local
1024 ObjCInterfaceDecl *Result = new (Mem) ObjCInterfaceDecl(0, SourceLocation(), in CreateDeserialized()
1316 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCIvarDecl)); in CreateDeserialized() local
1317 return new (Mem) ObjCIvarDecl(0, SourceLocation(), SourceLocation(), 0, in CreateDeserialized()
1360 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCAtDefsFieldDecl)); in CreateDeserialized() local
1361 return new (Mem) ObjCAtDefsFieldDecl(0, SourceLocation(), SourceLocation(), in CreateDeserialized()
1395 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ObjCProtocolDecl)); in CreateDeserialized() local
1396 ObjCProtocolDecl *Result = new (Mem) ObjCProtocolDecl(0, 0, SourceLocation(), in CreateDeserialized()
[all …]
DExpr.cpp426 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in Create() local
427 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
445 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>()); in CreateEmpty() local
446 return new (Mem) DeclRefExpr(EmptyShell()); in CreateEmpty()
749 void *Mem = C.Allocate(sizeof(StringLiteral)+ in Create() local
752 StringLiteral *SL = new (Mem) StringLiteral(Ty); in Create()
766 void *Mem = C.Allocate(sizeof(StringLiteral)+ in CreateEmpty() local
769 StringLiteral *SL = new (Mem) StringLiteral(QualType()); in CreateEmpty()
1220 void *Mem = C.Allocate(sizeof(OffsetOfExpr) + in Create() local
1224 return new (Mem) OffsetOfExpr(C, type, OperatorLoc, tsi, comps, exprs, in Create()
[all …]
DStmt.cpp287 void *Mem = C.Allocate(sizeof(AttributedStmt) + in Create() local
290 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create()
295 void *Mem = C.Allocate(sizeof(AttributedStmt) + in CreateEmpty() local
298 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
750 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in Create() local
751 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create()
760 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in CreateEmpty() local
761 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
777 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create() local
778 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); in Create()
[all …]
DTemplateBase.cpp66 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()
572 void *Mem = C.Allocate(size, llvm::alignOf<ASTTemplateArgumentListInfo>()); in Create() local
573 ASTTemplateArgumentListInfo *TAI = new (Mem) ASTTemplateArgumentListInfo(); in Create()
/external/clang/test/CodeGen/
Dempty-union-init.c4 struct Mem { struct
9 struct Mem *columnMem(){ in columnMem() argument
10 static const struct Mem nullMem = { {} }; in columnMem()
/external/valgrind/main/none/tests/amd64/
DredundantRexW.c24 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/Support/
DMemoryBuffer.cpp81 char *Mem = static_cast<char *>(operator new(N + Alloc.Name.size() + 1)); in operator new() local
82 CopyStringRef(Mem + N, Alloc.Name); in operator new()
83 return Mem; in operator new()
138 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local
139 if (!Mem) return 0; in getNewUninitMemBuffer()
142 CopyStringRef(Mem + sizeof(MemoryBufferMem), BufferName); in getNewUninitMemBuffer()
145 char *Buf = Mem + AlignedStringLen; in getNewUninitMemBuffer()
148 return new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
/external/llvm/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp112 struct MemOp Mem; member
133 Mem = o.Mem; in MBlazeOperand()
164 return Mem.Base; in getMemBase()
169 return Mem.Off; in getMemOff()
174 return Mem.OffReg; in getMemOffReg()
263 Op->Mem.Base = Base; in CreateMem()
264 Op->Mem.Off = Off; in CreateMem()
265 Op->Mem.OffReg = 0; in CreateMem()
274 Op->Mem.Base = Base; in CreateMem()
275 Op->Mem.OffReg = Off; in CreateMem()
[all …]
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp54 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/
D2009-04-29-RegAllocAssert.ll33 …*, 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*)…
53Mem**, %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…
66Mem**)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sq…
/external/llvm/test/Transforms/GVN/
D2009-01-22-SortInvalidation.ll30 …*, 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*)…
54Mem**, %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…
68Mem**)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sqlite3_vtab_cursor*)*, i32 (%struct.sq…
/external/oprofile/events/x86-64/hammer/
Dunit_masks127 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/
Dunit_masks133 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/
Dvectorbuffer.cpp21 Mem::Copy(iSucc, &aNode, sizeof(TNode*)); in Terminator()
52 Mem::Copy(start, aData.Ptr(), aData.Size()); in New()
/external/clang/lib/Sema/
DTypeLocBuilder.h124 void *Mem = Context.Allocate(FullDataSize); in getTypeLocInContext() local
125 memcpy(Mem, &Buffer[Index], FullDataSize); in getTypeLocInContext()
126 return TypeLoc(T, Mem); in getTypeLocInContext()
DCodeCompleteConsumer.cpp256 char *Mem = (char *)Allocate(String.size() + 1, 1); in CopyString() local
257 std::copy(String.begin(), String.end(), Mem); in CopyString()
258 Mem[String.size()] = 0; in CopyString()
259 return Mem; in CopyString()
333 void *Mem = getAllocator().Allocate( in TakeString() local
338 = new (Mem) CodeCompletionString(Chunks.data(), Chunks.size(), in TakeString()
/external/clang/include/clang/AST/
DCommentSema.h87 T *Mem = Allocator.Allocate<T>(Size); in copyArray() local
88 std::uninitialized_copy(Source.begin(), Source.end(), Mem); in copyArray()
89 return llvm::makeArrayRef(Mem, Size); in copyArray()

123