Home
last modified time | relevance | path

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

123456

/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h66 struct MemOp Mem; member
109 return Mem.Disp; in getMemDisp()
113 return Mem.SegReg; in getMemSegReg()
117 return Mem.BaseReg; in getMemBaseReg()
121 return Mem.IndexReg; in getMemIndexReg()
125 return Mem.Scale; in getMemScale()
129 return Mem.ModeSize; in getMemModeSize()
210 return Kind == Memory && Mem.Size == 0; in isMemUnsized()
213 return Kind == Memory && (!Mem.Size || Mem.Size == 8); in isMem8()
216 return Kind == Memory && (!Mem.Size || Mem.Size == 16); in isMem16()
[all …]
/external/clang/lib/AST/
DStmtOpenMP.cpp62 void *Mem = in Create() local
65 new (Mem) OMPParallelDirective(StartLoc, EndLoc, Clauses.size()); in Create()
77 void *Mem = in CreateEmpty() local
79 return new (Mem) OMPParallelDirective(NumClauses); in CreateEmpty()
89 void *Mem = in Create() local
92 OMPSimdDirective *Dir = new (Mem) in Create()
118 void *Mem = in CreateEmpty() local
121 return new (Mem) OMPSimdDirective(CollapsedNum, NumClauses); in CreateEmpty()
131 void *Mem = in Create() local
135 new (Mem) OMPForDirective(StartLoc, EndLoc, CollapsedNum, Clauses.size()); in Create()
[all …]
DOpenMPClause.cpp176 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size())); in Create() local
178 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
186 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * N)); in CreateEmpty() local
187 return new (Mem) OMPPrivateClause(N); in CreateEmpty()
207 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * VL.size())); in Create() local
209 new (Mem) OMPFirstprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
219 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(3 * N)); in CreateEmpty() local
220 return new (Mem) OMPFirstprivateClause(N); in CreateEmpty()
256 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(5 * VL.size())); in Create() local
258 new (Mem) OMPLastprivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
[all …]
DExprObjC.cpp42 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Elements.size())); in Create() local
43 return new (Mem) ObjCArrayLiteral(Elements, T, Method, SR); in Create()
49 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumElements)); in CreateEmpty() local
50 return new (Mem) ObjCArrayLiteral(EmptyShell(), NumElements); in CreateEmpty()
93 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( in Create() local
95 return new (Mem) ObjCDictionaryLiteral(VK, HasPackExpansions, T, method, SR); in Create()
101 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( in CreateEmpty() local
103 return new (Mem) in CreateEmpty()
209 ObjCMessageExpr *Mem; in Create() local
212 Mem = alloc(Context, Args.size(), 0); in Create()
[all …]
DStmtObjC.cpp53 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in Create() local
54 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create()
63 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>()); in CreateEmpty() local
64 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
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()
DStmtCXX.cpp31 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create() local
32 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); in Create()
40 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create() local
41 return new (Mem) CXXTryStmt(Empty, numHandlers); in Create()
DExprCXX.cpp229 void *Mem = C.Allocate(Size, llvm::alignOf<UnresolvedLookupExpr>()); in Create() local
230 return new (Mem) UnresolvedLookupExpr(C, NamingClass, QualifierLoc, in Create()
244 void *Mem = C.Allocate(Size, llvm::alignOf<UnresolvedLookupExpr>()); in CreateEmpty() local
245 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()
398 void *Mem = C.Allocate(Size); in CreateEmpty() local
400 = new (Mem) DependentScopeDeclRefExpr(QualType(), NestedNameSpecifierLoc(), in CreateEmpty()
921 void *Mem = Context.Allocate(Size); in Create() local
922 return new (Mem) LambdaExpr(T, IntroducerRange, in Create()
[all …]
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp55 SmallString<1024> &Mem, in getLazyModuleFromAssembly() argument
57 writeModuleToBuffer(parseAssembly(Context, Assembly), Mem); in getLazyModuleFromAssembly()
59 MemoryBuffer::getMemBuffer(Mem.str(), "test", false); in getLazyModuleFromAssembly()
83 getStreamedModuleFromAssembly(LLVMContext &Context, SmallString<1024> &Mem, in getStreamedModuleFromAssembly() argument
85 writeModuleToBuffer(parseAssembly(Context, Assembly), Mem); in getStreamedModuleFromAssembly()
87 MemoryBuffer::getMemBuffer(Mem.str(), "test", false); in getStreamedModuleFromAssembly()
130 SmallString<1024> Mem; in TEST() local
134 Context, Mem, "@table = constant i8* blockaddress(@func, %bb)\n" in TEST()
145 SmallString<1024> Mem; in TEST() local
148 Context, Mem, "define void @f() {\n" in TEST()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp30 uint8_t *Mem = MemMgr->startFunctionBody(Name.data(), AllocSize); in extractFunction() local
34 memcpy(Mem, StartAddress, Size); in extractFunction()
35 MemMgr->endFunctionBody(Name.data(), Mem, Mem + Size); in extractFunction()
37 Functions[Name] = sys::MemoryBlock(Mem, Size); in extractFunction()
40 SymbolTable[Name] = Mem; in extractFunction()
41 DEBUG(dbgs() << " allocated to [" << Mem << ", " << Mem + Size << "]\n"); in extractFunction()
/external/llvm/unittests/CodeGen/
DDIEHashTest.cpp183 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F() local
185 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
187 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooRef); in TEST_F()
190 Foo.addChild(std::move(Mem)); in TEST_F()
205 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F() local
207 Mem->addValue(Alloc, dwarf::DW_AT_name, dwarf::DW_FORM_strp, MemStr); in TEST_F()
209 Mem->addValue(Alloc, dwarf::DW_AT_data_member_location, dwarf::DW_FORM_data1, in TEST_F()
218 Mem->addValue(Alloc, dwarf::DW_AT_type, dwarf::DW_FORM_ref4, FooPtrRef); in TEST_F()
220 Foo.addChild(std::move(Mem)); in TEST_F()
235 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F() local
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DOptions.h49 template <typename ValT, typename Base, ValT(Base::*Mem)> class OptionKey {
54 template <typename ValT, typename Base, ValT(Base::*Mem)>
55 char OptionKey<ValT, Base, Mem>::ID = 0;
95 template <typename ValT, typename Base, ValT(Base::*Mem)>
100 instance().addOption(&detail::OptionKey<ValT, Base, Mem>::ID, Option); in registerOption()
111 template <typename ValT, typename Base, ValT(Base::*Mem)> ValT get() const { in get()
112 auto It = Options.find(&detail::OptionKey<ValT, Base, Mem>::ID); in get()
/external/llvm/include/llvm/Support/
DOptions.h49 template <typename ValT, typename Base, ValT(Base::*Mem)> class OptionKey {
54 template <typename ValT, typename Base, ValT(Base::*Mem)>
55 char OptionKey<ValT, Base, Mem>::ID = 0;
95 template <typename ValT, typename Base, ValT(Base::*Mem)>
100 instance().addOption(&detail::OptionKey<ValT, Base, Mem>::ID, Option); in registerOption()
111 template <typename ValT, typename Base, ValT(Base::*Mem)> ValT get() const { in get()
112 auto It = Options.find(&detail::OptionKey<ValT, Base, Mem>::ID); in get()
/external/llvm/lib/DebugInfo/CodeView/
DMemoryTypeTableBuilder.cpp30 char *Mem = in writeRecord() local
32 *reinterpret_cast<ulittle16_t *>(Mem) = uint16_t(TotalSize - SizeOfRecLen); in writeRecord()
33 memcpy(Mem + SizeOfRecLen, Data.data(), Data.size()); in writeRecord()
35 Mem[I] = LF_PAD0 + (TotalSize - I); in writeRecord()
42 HashedRecords.insert(std::make_pair(StringRef(Mem + SizeOfRecLen, Data.size()), TI)); in writeRecord()
43 Records.push_back(StringRef(Mem, TotalSize)); in writeRecord()
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp138 } Mem; member
173 return Mem.Disp; in getMemDisp()
177 return Mem.SegReg; in getMemSegReg()
181 return Mem.BaseReg; in getMemBaseReg()
185 return Mem.IndexReg; in getMemIndexReg()
189 return Mem.Scale; in getMemScale()
342 Res->Mem.SegReg = 0; in CreateMem()
343 Res->Mem.Disp = Disp; in CreateMem()
344 Res->Mem.BaseReg = 0; in CreateMem()
345 Res->Mem.IndexReg = 0; in CreateMem()
[all …]
/external/compiler-rt/lib/esan/
Desan_shadow.h149 bool isAppMem(uptr Mem) { in isAppMem() argument
151 if (Mem >= AppRegions[i].Start && Mem < AppRegions[i].End) in isAppMem()
190 bool isShadowMem(uptr Mem) { in isShadowMem() argument
194 if (Mem >= appToShadow(AppRegions[i].Start) && in isShadowMem()
195 Mem < appToShadow(AppRegions[i].End - 1) + 1) in isShadowMem()
/external/valgrind/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/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/pdfium/third_party/lcms2-2.6/src/
Dcmsmd5.c264 cmsUInt8Number* Mem = NULL; in cmsMD5computeID() local
285 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded); in cmsMD5computeID()
286 if (Mem == NULL) goto Error; in cmsMD5computeID()
289 if (!cmsSaveProfileToMem(hProfile, Mem, &BytesNeeded)) goto Error; in cmsMD5computeID()
296 MD5add(MD5, Mem, BytesNeeded); in cmsMD5computeID()
299 _cmsFree(ContextID, Mem); in cmsMD5computeID()
312 if (Mem != NULL) _cmsFree(ContextID, Mem); in cmsMD5computeID()
320 cmsUInt8Number* Mem; in cmsMD5computeIDExt() local
325 Mem = (cmsUInt8Number*)_cmsMalloc(NULL,size); in cmsMD5computeIDExt()
326 memmove(Mem,buf,size); in cmsMD5computeIDExt()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632.cpp166 Traits::X86OperandMem *TargetX8632::_sandbox_mem_reference(X86OperandMem *Mem) { in _sandbox_mem_reference() argument
170 return Mem; in _sandbox_mem_reference()
172 if (Mem->getIsRebased()) { in _sandbox_mem_reference()
173 return Mem; in _sandbox_mem_reference()
179 if (llvm::dyn_cast_or_null<ConstantRelocatable>(Mem->getOffset()) == in _sandbox_mem_reference()
181 return Mem; in _sandbox_mem_reference()
185 if (Mem->getIndex() == nullptr) { in _sandbox_mem_reference()
186 T = Mem->getBase(); in _sandbox_mem_reference()
187 } else if (Mem->getBase() == nullptr) { in _sandbox_mem_reference()
188 T = Mem->getIndex(); in _sandbox_mem_reference()
[all …]
DIceTargetLoweringMIPS32.h338 void _ldc1(Variable *Value, OperandMIPS32Mem *Mem, RelocOp Reloc = RO_No) {
339 Context.insert<InstMIPS32Ldc1>(Value, Mem, Reloc);
342 void _ll(Variable *Value, OperandMIPS32Mem *Mem) { in _ll() argument
343 Context.insert<InstMIPS32Ll>(Value, Mem); in _ll()
346 void _lw(Variable *Value, OperandMIPS32Mem *Mem) { in _lw() argument
347 Context.insert<InstMIPS32Lw>(Value, Mem); in _lw()
350 void _lwc1(Variable *Value, OperandMIPS32Mem *Mem, RelocOp Reloc = RO_No) {
351 Context.insert<InstMIPS32Lwc1>(Value, Mem, Reloc);
496 InstMIPS32Sc *_sc(Variable *Value, OperandMIPS32Mem *Mem) { in _sc() argument
497 return Context.insert<InstMIPS32Sc>(Value, Mem); in _sc()
[all …]
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp117 MemOp Mem; member
169 Op->Mem.MemKind = MemKind; in createMem()
170 Op->Mem.RegKind = RegKind; in createMem()
171 Op->Mem.Base = Base; in createMem()
172 Op->Mem.Index = Index; in createMem()
173 Op->Mem.Disp = Disp; in createMem()
174 Op->Mem.Length = Length; in createMem()
236 (Mem.MemKind == MemKind || in isMem()
239 (Mem.MemKind == BDMem && MemKind == BDXMem))); in isMem()
242 return isMem(MemKind) && Mem.RegKind == RegKind; in isMem()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DMemoryBuffer.cpp72 char *Mem = static_cast<char*>(operator new(sizeof(T) + Name.size() + 1)); in GetNamedBuffer() local
73 CopyStringRef(Mem + sizeof(T), Name); in GetNamedBuffer()
74 return new (Mem) T(Buffer, RequiresNullTerminator); in GetNamedBuffer()
129 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local
130 if (!Mem) return 0; in getNewUninitMemBuffer()
133 CopyStringRef(Mem + sizeof(MemoryBufferMem), BufferName); in getNewUninitMemBuffer()
136 char *Buf = Mem + AlignedStringLen; in getNewUninitMemBuffer()
139 return new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp103 } Mem; member
127 Mem = o.Mem; in MBlazeOperand()
158 return Mem.Base; in getMemBase()
163 return Mem.Off; in getMemOff()
168 return Mem.OffReg; in getMemOffReg()
257 Op->Mem.Base = Base; in CreateMem()
258 Op->Mem.Off = Off; in CreateMem()
259 Op->Mem.OffReg = 0; in CreateMem()
268 Op->Mem.Base = Base; in CreateMem()
269 Op->Mem.OffReg = Off; in CreateMem()
[all …]
/external/llvm/lib/Support/
DMemoryBuffer.cpp76 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); in operator new() local
77 CopyStringRef(Mem + N, NameRef); in operator new()
78 return Mem; in operator new()
144 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local
145 if (!Mem) in getNewUninitMemBuffer()
149 CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef); in getNewUninitMemBuffer()
152 char *Buf = Mem + AlignedStringLen; in getNewUninitMemBuffer()
155 auto *Ret = new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); in getNewUninitMemBuffer()

123456