Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h86 struct MemOp Mem; member
142 OS << "Memory: ModeSize=" << Mem.ModeSize; in print()
143 if (Mem.Size) in print()
144 OS << ",Size=" << Mem.Size; in print()
145 if (Mem.BaseReg) in print()
146 OS << ",BaseReg=" << X86IntelInstPrinter::getRegisterName(Mem.BaseReg); in print()
147 if (Mem.IndexReg) in print()
149 << X86IntelInstPrinter::getRegisterName(Mem.IndexReg); in print()
150 if (Mem.Scale) in print()
151 OS << ",Scale=" << Mem.Scale; in print()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DOpenMPClause.cpp345 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in Create() local
347 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); in Create()
357 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); in CreateEmpty() local
358 auto *Clause = new (Mem) OMPOrderedClause(NumLoops); in CreateEmpty()
401 void *Mem = in Create() local
405 new (Mem) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/true); in Create()
416 void *Mem = in CreateEmpty() local
419 auto *Clause = new (Mem) OMPUpdateClause(/*IsExtended=*/true); in CreateEmpty()
435 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size())); in Create() local
437 new (Mem) OMPPrivateClause(StartLoc, LParenLoc, EndLoc, VL.size()); in Create()
[all …]
H A DExprObjC.cpp43 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Elements.size())); in Create() local
44 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()
82 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( in Create() local
84 return new (Mem) ObjCDictionaryLiteral(VK, HasPackExpansions, T, method, SR); in Create()
90 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( in CreateEmpty() local
92 return new (Mem) in CreateEmpty()
183 ObjCMessageExpr *Mem; in Create() local
186 Mem = alloc(Context, Args.size(), 0); in Create()
[all …]
H A DExprCXX.cpp256 void *Mem = in Create() local
260 return new (Mem) in Create()
270 void *Mem = in CreateEmpty() local
274 return new (Mem) in CreateEmpty()
378 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); in Create() local
379 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc, in Create()
396 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); in Create() local
397 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc, in Create()
409 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); in CreateEmpty() local
410 return new (Mem) in CreateEmpty()
[all …]
H A DASTConcept.cpp34 char *Mem = new (C) char[MessageSize]; in CreatUnsatisfiedConstraintRecord() local
35 memcpy(Mem, SubstitutionDiagnostic.second.data(), MessageSize); in CreatUnsatisfiedConstraintRecord()
37 SubstitutionDiagnostic.first, StringRef(Mem, MessageSize)); in CreatUnsatisfiedConstraintRecord()
72 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction)); in Create() local
73 return new (Mem) ASTConstraintSatisfaction(C, Satisfaction); in Create()
80 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction)); in Rebuild() local
81 return new (Mem) ASTConstraintSatisfaction(C, Satisfaction); in Rebuild()
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 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.cpp385 void *Mem = in Create() local
389 return new (Mem) CompoundStmt(Stmts, FPFeatures, LB, RB); in Create()
394 void *Mem = C.Allocate( in CreateEmpty() local
397 CompoundStmt *New = new (Mem) CompoundStmt(EmptyShell()); in CreateEmpty()
428 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(Attrs.size()), in Create() local
430 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); in Create()
436 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), in CreateEmpty() local
438 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
963 void *Mem = Ctx.Allocate( in Create() local
967 return new (Mem) in Create()
[all …]
H A DExpr.cpp399 void *Mem = Context.Allocate(Size, alignof(ConstantExpr)); in Create() local
400 return new (Mem) ConstantExpr(E, StorageKind, IsImmediateInvocation); in Create()
426 void *Mem = Context.Allocate(Size, alignof(ConstantExpr)); in CreateEmpty() local
427 return new (Mem) ConstantExpr(EmptyShell(), StorageKind); in CreateEmpty()
571 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); in Create() local
572 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, in Create()
588 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); in CreateEmpty() local
589 return new (Mem) DeclRefExpr(EmptyShell()); in CreateEmpty()
688 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName), in Create() local
690 return new (Mem) PredefinedExpr(L, FNTy, IK, SL); in Create()
[all …]
H A DExprConcepts.cpp181 void *Mem = in Create() local
185 return new (Mem) RequiresExpr(C, RequiresKWLoc, Body, LocalParameters, in Create()
192 void *Mem = in Create() local
196 return new (Mem) RequiresExpr(C, Empty, NumLocalParameters, NumRequirements); in Create()
H A DTemplateBase.cpp172 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in TemplateArgument() local
173 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in TemplateArgument()
174 Integer.pVal = static_cast<uint64_t *>(Mem); in TemplateArgument()
606 void *Mem = C.Allocate(size, alignof(ASTTemplateArgumentListInfo)); in Create() local
607 return new (Mem) ASTTemplateArgumentListInfo(List); in Create()
617 void *Mem = C.Allocate(size, alignof(ASTTemplateArgumentListInfo)); in Create() local
618 return new (Mem) ASTTemplateArgumentListInfo(List); in Create()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp142 MemOp Mem; member
192 Op->Mem.MemKind = MemKind; in createMem()
193 Op->Mem.RegKind = RegKind; in createMem()
194 Op->Mem.Base = Base; in createMem()
195 Op->Mem.Index = Index; in createMem()
196 Op->Mem.Disp = Disp; in createMem()
198 Op->Mem.Length.Imm = LengthImm; in createMem()
200 Op->Mem.Length.Reg = LengthReg; in createMem()
262 (Mem.MemKind == MemKind || in isMem()
265 (Mem.MemKind == BDMem && MemKind == BDXMem))); in isMem()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp208 struct MemOp Mem; member
362 return Mem.Base; in getMemBase()
368 return Mem.IndexReg; in getMemIndexReg()
374 return Mem.Index; in getMemIndex()
382 return Mem.Offset; in getMemOffset()
390 Mem.Offset = off; in setMemOffset()
698 Op->Mem.Base = Base; in MorphToMEMri()
699 Op->Mem.IndexReg = 0; in MorphToMEMri()
700 Op->Mem.Index = nullptr; in MorphToMEMri()
701 Op->Mem.Offset = Imm; in MorphToMEMri()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DMemoryBuffer.cpp80 char *Mem = static_cast<char *>(operator new(N + sizeof(size_t) + in operator new() local
82 *reinterpret_cast<size_t *>(Mem + N) = NameRef.size(); in operator new()
83 CopyStringRef(Mem + N + sizeof(size_t), NameRef); in operator new()
84 return Mem; in operator new()
313 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local
314 if (!Mem) in getNewUninitMemBuffer()
318 *reinterpret_cast<size_t *>(Mem + sizeof(MemBuffer)) = NameRef.size(); in getNewUninitMemBuffer()
319 CopyStringRef(Mem + sizeof(MemBuffer) + sizeof(size_t), NameRef); in getNewUninitMemBuffer()
322 char *Buf = (char *)alignAddr(Mem + StringLen, BufAlign); in getNewUninitMemBuffer()
325 auto *Ret = new (Mem) MemBuffer(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp143 struct MemOp Mem; member
175 return Mem.BaseReg; in getMemBaseReg()
180 return Mem.OffsetReg; in getMemOffsetReg()
185 return Mem.Offset; in getMemOffset()
190 return Mem.AluOp; in getMemOp()
618 Op->Mem.BaseReg = 0; in MorphToMemImm()
619 Op->Mem.AluOp = LPAC::ADD; in MorphToMemImm()
620 Op->Mem.OffsetReg = 0; in MorphToMemImm()
621 Op->Mem.Offset = Imm; in MorphToMemImm()
630 Op->Mem.BaseReg = BaseReg; in MorphToMemRegReg()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DTypeLocBuilder.h126 void *Mem = Context.Allocate(FullDataSize); in getTypeLocInContext() local
127 memcpy(Mem, &Buffer[Index], FullDataSize); in getTypeLocInContext()
128 return TypeLoc(T, Mem); in getTypeLocInContext()
H A DCodeCompleteConsumer.cpp364 char *Mem = (char *)Allocate(Ref.size() + 1, 1); in CopyString() local
365 std::copy(Ref.begin(), Ref.end(), Mem); in CopyString()
366 Mem[Ref.size()] = 0; in CopyString()
367 return Mem; in CopyString()
431 void *Mem = getAllocator().Allocate( in TakeString() local
435 CodeCompletionString *Result = new (Mem) CodeCompletionString( in TakeString()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleExecutorMemoryManager.cpp128 char *Mem = Seg.Addr.toPtr<char *>(); in finalize() local
130 memcpy(Mem, Seg.Content.data(), Seg.Content.size()); in finalize()
131 memset(Mem + Seg.Content.size(), 0, Seg.Size - Seg.Content.size()); in finalize()
134 {Mem, static_cast<size_t>(Seg.Size)}, in finalize()
138 sys::Memory::InvalidateInstructionCache(Mem, Seg.Size); in finalize()
/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingValue.c100 ValueProfNode **Mem = in allocateValueProfileCounters() local
102 if (!Mem) in allocateValueProfileCounters()
104 if (!COMPILER_RT_BOOL_CMPXCHG(&Data->Values, 0, Mem)) { in allocateValueProfileCounters()
105 free(Mem); in allocateValueProfileCounters()
H A DInstrProfilingUtil.c104 void *lprofPtrFetchAdd(void **Mem, long ByteIncr) { in lprofPtrFetchAdd() argument
105 void *Old = *Mem; in lprofPtrFetchAdd()
106 *((char **)Mem) += ByteIncr; in lprofPtrFetchAdd()
H A DInstrProfilingUtil.h67 void *lprofPtrFetchAdd(void **Mem, long ByteIncr);
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp265 struct MemOp Mem; member
344 return Mem.Base; in getMemBase()
349 return Mem.OffsetReg; in getMemOffsetReg()
354 return Mem.Off; in getMemOff()
542 Op->Mem.Base = Base; in MorphToMEMrr()
543 Op->Mem.OffsetReg = offsetReg; in MorphToMEMrr()
544 Op->Mem.Off = nullptr; in MorphToMEMrr()
551 Op->Mem.Base = Base; in CreateMEMr()
552 Op->Mem.OffsetReg = Sparc::G0; // always 0 in CreateMEMr()
553 Op->Mem.Off = nullptr; in CreateMEMr()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp112 Memory Mem; member
126 : Kind(k_Mem), Mem({Reg, Expr}), Start(S), End(E) {} in MSP430Operand()
157 Inst.addOperand(MCOperand::createReg(Mem.Reg)); in addMemOperands()
158 addExprOperand(Inst, Mem.Offset); in addMemOperands()
243 O << *Mem.Offset << "(" << Reg << ")"; in print()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DIdentifierTable.h611 void *Mem = getAllocator().Allocate<IdentifierInfo>(); in get() local
612 II = new (Mem) IdentifierInfo(); in get()
642 void *Mem = getAllocator().Allocate<IdentifierInfo>(); in getOwn() local
643 II = new (Mem) IdentifierInfo(); in getOwn()

12345