Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h444 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 8); in isMemOffs16_8()
447 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 16); in isMemOffs16_16()
450 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 32); in isMemOffs16_32()
453 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 8); in isMemOffs32_8()
456 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 16); in isMemOffs32_16()
459 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 32); in isMemOffs32_32()
462 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 64); in isMemOffs32_64()
465 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 8); in isMemOffs64_8()
468 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 16); in isMemOffs64_16()
471 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 32); in isMemOffs64_32()
[all …]
/llvm-project-15.0.7/llvm/unittests/Bitcode/
H A DBitReaderTest.cpp63 SmallString<1024> Mem; in TEST() local
66 Context, Mem, "define void @f() {\n" in TEST()
126 SmallString<1024> Mem; in TEST() local
130 Context, Mem, "define double @foo(double %a) {\n" in TEST()
156 SmallString<1024> Mem; in TEST() local
160 Context, Mem, in TEST()
190 SmallString<1024> Mem; in TEST() local
205 SmallString<1024> Mem; in TEST() local
209 Context, Mem, "define i8* @before() {\n" in TEST()
232 SmallString<1024> Mem; in TEST() local
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dvec-load-element.ll12 @Mem = external global [150 x %type0], align 4
23 %2 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 0, i32 3
24 %3 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 %0, i32 3
25 %4 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 %1, i32 3
35 %14 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 undef, i32 3
36 %15 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 0, i32 3
37 %16 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 %13, i32 3
51 %30 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 %26, i32 3
52 %31 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 %27, i32 3
53 %32 = getelementptr inbounds [150 x %type0], [150 x %type0]* @Mem, i64 0, i64 %28, i32 3
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DOpenMPClause.cpp392 void *Mem = in Create() local
407 void *Mem = in CreateEmpty() local
581 void *Mem = in Create() local
1045 void *Mem = C.Allocate( in Create() local
1063 void *Mem = in CreateEmpty() local
1150 void *Mem = C.Allocate( in Create() local
1171 void *Mem = C.Allocate( in CreateEmpty() local
1203 void *Mem = C.Allocate( in Create() local
1221 void *Mem = C.Allocate( in CreateEmpty() local
1253 void *Mem = C.Allocate( in Create() local
[all …]
H A DExprObjC.cpp44 return new (Mem) ObjCArrayLiteral(Elements, T, Method, SR); in Create()
92 return new (Mem) in CreateEmpty()
183 ObjCMessageExpr *Mem; in Create() local
186 Mem = alloc(Context, Args.size(), 0); in Create()
202 ObjCMessageExpr *Mem; in Create() local
205 Mem = alloc(Context, Args.size(), 0); in Create()
208 return new (Mem) in Create()
221 ObjCMessageExpr *Mem; in Create() local
224 Mem = alloc(Context, Args.size(), 0); in Create()
227 return new (Mem) in Create()
[all …]
H A DExprCXX.cpp255 void *Mem = in Create() local
259 return new (Mem) in Create()
269 void *Mem = in CreateEmpty() local
273 return new (Mem) in CreateEmpty()
409 return new (Mem) in CreateEmpty()
634 return new (Mem) in Create()
902 return new (Mem) in Create()
1006 void *Mem = in Create() local
1017 void *Mem = in CreateEmpty() local
1054 return new (Mem) in CreateEmpty()
[all …]
H A DStmtCXX.cpp28 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); in Create() local
29 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); in Create()
35 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); in Create() local
36 return new (Mem) CXXTryStmt(Empty, numHandlers); in Create()
91 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create() local
92 return new (Mem) CoroutineBodyStmt(Args); in Create()
100 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create() local
101 auto *Result = new (Mem) CoroutineBodyStmt(CtorArgs()); in Create()
H A DASTConcept.cpp37 char *Mem = new (C) char[MessageSize]; local
38 memcpy(Mem, SubstitutionDiagnostic.second.data(), MessageSize);
40 SubstitutionDiagnostic.first, StringRef(Mem, MessageSize));
56 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction)); in Create() local
57 return new (Mem) ASTConstraintSatisfaction(C, Satisfaction); in Create()
H A DStmtObjC.cpp51 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); in Create() local
52 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create()
60 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); in CreateEmpty() local
61 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
H A DDeclGroup.cpp23 void *Mem = C.Allocate(Size, alignof(DeclGroup)); in Create() local
24 new (Mem) DeclGroup(NumDecls, Decls); in Create()
25 return static_cast<DeclGroup*>(Mem); in Create()
H A DStmt.cpp384 void *Mem = in Create() local
393 void *Mem = C.Allocate( in CreateEmpty() local
962 void *Mem = Ctx.Allocate( in Create() local
966 return new (Mem) in Create()
972 void *Mem = Ctx.Allocate( in CreateEmpty() local
1083 void *Mem = Ctx.Allocate( in Create() local
1091 void *Mem = Ctx.Allocate( in CreateEmpty() local
1145 void *Mem = in Create() local
1152 void *Mem = in CreateEmpty() local
1221 void *Mem = Ctx.Allocate( in Create() local
[all …]
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DDIEHashTest.cpp199 auto Mem = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F() local
206 Foo.addChild(std::move(Mem)); in TEST_F()
236 Foo.addChild(std::move(Mem)); in TEST_F()
271 Foo.addChild(std::move(Mem)); in TEST_F()
306 Foo.addChild(std::move(Mem)); in TEST_F()
337 Foo.addChild(std::move(Mem)); in TEST_F()
384 Foo.addChild(std::move(Mem)); in TEST_F()
415 Foo.addChild(std::move(Mem)); in TEST_F()
461 Foo.addChild(std::move(Mem)); in TEST_F()
491 Foo.addChild(std::move(Mem)); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DSimpleExecutorMemoryManagerTest.cpp38 auto Mem = MemMgr.allocate(AllocSize); in TEST() local
39 EXPECT_THAT_ERROR(Mem.takeError(), Succeeded()); in TEST()
49 *Mem, in TEST()
71 EXPECT_EQ(HW, std::string(Mem->toPtr<const char *>())); in TEST()
73 auto DeallocateErr = MemMgr.deallocate({*Mem}); in TEST()
H A DEPCGenericJITLinkMemoryManagerTest.cpp43 char *Mem = Seg.Addr.toPtr<char *>(); in finalize() local
44 memcpy(Mem, Seg.Content.data(), Seg.Content.size()); in finalize()
45 memset(Mem + Seg.Content.size(), 0, Seg.Size - Seg.Content.size()); in finalize()
48 {Mem, static_cast<size_t>(Seg.Size)}, in finalize()
52 sys::Memory::InvalidateInstructionCache(Mem, Seg.Size); in finalize()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dmove-constructor-init.cpp77 B Mem; member
79 M(M &&RHS) : Mem(RHS.Mem) {} in M()
85 B Mem; member
86 N(N &&RHS) : Mem(move(RHS.Mem)) {} in N()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dempty-union-init.c4 struct Mem { struct
9 struct Mem *columnMem(void){ in columnMem() argument
10 static const struct Mem nullMem = { {} }; in columnMem()
/llvm-project-15.0.7/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/
H A Dlanai_isel.ll.expected8 ; CHECK-NEXT: t5: i32,ch = LDW_RI<Mem:(load (s32) from %fixed-stack.0)> TargetFrameIndex:i32<-2>…
11 ; CHECK-NEXT: t22: i32,ch = LDW_RI<Mem:(dereferenceable load (s32) from %ir.loc + 4, basealign 8…
13 ; CHECK-NEXT: t3: i32,ch = LDW_RI<Mem:(load (s32) from %fixed-stack.1, align 8)> TargetFrameInde…
14 ; CHECK-NEXT: t19: i32,ch = LDW_RI<Mem:(dereferenceable load (s32) from %ir.loc, align 8)> Targe…
35 ; CHECK-NEXT: t3: i32,ch = LDW_RI<Mem:(load (s32) from %fixed-stack.0, align 8)> TargetFrameInde…
36 ; CHECK-NEXT: t6: i32,ch = LDW_RI<Mem:(dereferenceable load (s32) from %ir.loc)> TargetFrameInde…
56 ; CHECK-NEXT: t23: i32,ch = LDHz_RI<Mem:(load (s16) from %fixed-stack.0 + 2)> t21, TargetConstan…
57 ; CHECK-NEXT: t22: i32,ch = LDHz_RI<Mem:(dereferenceable load (s16) from %ir.loc)> TargetFrameIn…
79 ; CHECK-NEXT: t23: i32,ch = LDBz_RI<Mem:(load (s8) from %fixed-stack.0 + 3)> t21, TargetConstant…
80 ; CHECK-NEXT: t22: i32,ch = LDBz_RI<Mem:(dereferenceable load (s8) from %ir.loc)> TargetFrameInd…
H A Dx86_isel.ll.expected10 ; PIC-NEXT: t7: i64,i32,ch = ADD64rm<Mem:(dereferenceable load (s64) from %ir.loc)> t2, TargetFr…
19 ; WIN-NEXT: t7: i64,i32,ch = ADD64rm<Mem:(dereferenceable load (s64) from %ir.loc)> t2, TargetFr…
34 ; PIC-NEXT: t7: i32,i32,ch = ADD32rm<Mem:(dereferenceable load (s32) from %ir.loc)> t2, TargetFr…
44 ; WIN-NEXT: t7: i32,i32,ch = ADD32rm<Mem:(dereferenceable load (s32) from %ir.loc)> t2, TargetFr…
62 ; PIC-NEXT: t8: i16,i32,ch = ADD16rm<Mem:(dereferenceable load (s16) from %ir.loc)> t3, TargetFr…
73 ; WIN-NEXT: t7: i16,i32,ch = ADD16rm<Mem:(dereferenceable load (s16) from %ir.loc)> t2, TargetFr…
92 ; PIC-NEXT: t8: i8,i32,ch = ADD8rm<Mem:(dereferenceable load (s8) from %ir.loc)> t3, TargetFrame…
103 ; WIN-NEXT: t7: i8,i32,ch = ADD8rm<Mem:(dereferenceable load (s8) from %ir.loc)> t2, TargetFrame…
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp142 MemOp Mem; member
192 Op->Mem.MemKind = MemKind; in createMem()
194 Op->Mem.Base = Base; in createMem()
195 Op->Mem.Index = Index; in createMem()
196 Op->Mem.Disp = Disp; in createMem()
285 return Mem; in getMem()
311 addExpr(Inst, Mem.Disp); in addBDAddrOperands()
317 addExpr(Inst, Mem.Disp); in addBDXAddrOperands()
324 addExpr(Inst, Mem.Disp); in addBDLAddrOperands()
331 addExpr(Inst, Mem.Disp); in addBDRAddrOperands()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp207 struct MemOp Mem; member
361 return Mem.Base; in getMemBase()
367 return Mem.IndexReg; in getMemIndexReg()
373 return Mem.Index; in getMemIndex()
381 return Mem.Offset; in getMemOffset()
389 Mem.Offset = off; in setMemOffset()
697 Op->Mem.Base = Base; in MorphToMEMri()
708 Op->Mem.Base = 0; in MorphToMEMzi()
719 Op->Mem.Base = Base; in MorphToMEMrri()
742 Op->Mem.Base = 0; in MorphToMEMzri()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/NewGVN/
H A 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…
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A 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…
/llvm-project-15.0.7/llvm/unittests/Support/
H A DManagedStatic.cpp87 void *Mem = safe_malloc(sizeof(int)); in call() local
88 *((int *)Mem) = 42; in call()
89 return Mem; in call()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dfastcc_stacksize.ll59 %"myClass::Mem" = type { i8, i8, i16, i32, i32, i32, i64 }
61 define internal fastcc void @CallPassByValue(%"myClass::Mem"* %E) align 2 {
63 call fastcc void @PassByValue(%"myClass::Mem"* byval(%"myClass::Mem") nonnull align 8 undef);
72 @PassByValue(%"myClass::Mem"* byval(%"myClass::Mem") nocapture readonly align 8) align 2
/llvm-project-15.0.7/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp141 struct MemOp Mem; member
173 return Mem.BaseReg; in getMemBaseReg()
178 return Mem.OffsetReg; in getMemOffsetReg()
183 return Mem.Offset; in getMemOffset()
188 return Mem.AluOp; in getMemOp()
616 Op->Mem.BaseReg = 0; in MorphToMemImm()
618 Op->Mem.OffsetReg = 0; in MorphToMemImm()
619 Op->Mem.Offset = Imm; in MorphToMemImm()
629 Op->Mem.AluOp = AluOp; in MorphToMemRegReg()
641 Op->Mem.AluOp = AluOp; in MorphToMemRegImm()
[all …]

1234