/freebsd-current/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclGroup.cpp | 23 void *Mem = C.Allocate(Size, alignof(DeclGroup)); local 24 new (Mem) DeclGroup(NumDecls, Decls); 25 return static_cast<DeclGroup*>(Mem);
|
H A D | ExprObjC.cpp | 43 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Elements.size())); local 44 return new (Mem) ObjCArrayLiteral(Elements, T, Method, SR); 49 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumElements)); local 50 return new (Mem) ObjCArrayLiteral(EmptyShell(), NumElements); 82 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( local 84 return new (Mem) ObjCDictionaryLiteral(VK, HasPackExpansions, T, method, SR); 90 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>( local 92 return new (Mem) 183 ObjCMessageExpr *Mem; local 186 Mem 202 ObjCMessageExpr *Mem; local 221 ObjCMessageExpr *Mem; local 235 ObjCMessageExpr *Mem = alloc(Context, NumArgs, NumStoredSelLocs); local [all...] |
H A D | StmtObjC.cpp | 51 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); local 52 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, 60 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); local 61 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally);
|
H A D | ASTConcept.cpp | 33 char *Mem = new (C) char[MessageSize]; local 34 memcpy(Mem, SubstitutionDiagnostic.second.data(), MessageSize); 36 SubstitutionDiagnostic.first, StringRef(Mem, MessageSize)); 71 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction)); local 72 return new (Mem) ASTConstraintSatisfaction(C, Satisfaction); 79 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction)); local 80 return new (Mem) ASTConstraintSatisfaction(C, Satisfaction);
|
H A D | StmtCXX.cpp | 29 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); local 30 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); 36 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); local 37 return new (Mem) CXXTryStmt(Empty, numHandlers); 92 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); local 93 return new (Mem) CoroutineBodyStmt(Args); 101 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); local 102 auto *Result = new (Mem) CoroutineBodyStmt(CtorArgs());
|
H A D | OpenMPClause.cpp | 348 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); local 350 new (Mem) OMPOrderedClause(Num, NumLoops, StartLoc, LParenLoc, EndLoc); 360 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * NumLoops)); local 361 auto *Clause = new (Mem) OMPOrderedClause(NumLoops); 404 void *Mem = 408 new (Mem) OMPUpdateClause(StartLoc, EndLoc, /*IsExtended=*/true); 419 void *Mem = 422 auto *Clause = new (Mem) OMPUpdateClause(/*IsExtended=*/true); 438 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(2 * VL.size())); 440 new (Mem) OMPPrivateClaus [all...] |
H A D | ExprCXX.cpp | 257 void *Mem = local 261 return new (Mem) 271 void *Mem = local 275 return new (Mem) 381 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); local 382 return new (Mem) UnresolvedLookupExpr(Context, NamingClass, QualifierLoc, 399 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); local 400 return new (Mem) UnresolvedLookupExpr( 412 void *Mem = Context.Allocate(Size, alignof(UnresolvedLookupExpr)); local 413 return new (Mem) 491 void *Mem = Context.Allocate(Size); local 504 void *Mem = Context.Allocate(Size); local 571 void *Mem = Ctx.Allocate(sizeof(CXXOperatorCallExpr) + SizeOfTrailingObjects, local 584 void *Mem = Ctx.Allocate(sizeof(CXXOperatorCallExpr) + SizeOfTrailingObjects, local 636 void *Mem = Ctx.Allocate(sizeof(CXXMemberCallExpr) + SizeOfTrailingObjects, local 649 void *Mem = Ctx.Allocate(sizeof(CXXMemberCallExpr) + SizeOfTrailingObjects, local 910 void *Mem = Ctx.Allocate(sizeof(UserDefinedLiteral) + SizeOfTrailingObjects, local 923 void *Mem = Ctx.Allocate(sizeof(UserDefinedLiteral) + SizeOfTrailingObjects, local 965 auto *Mem = C.Allocate(Size, alignof(CXXDefaultArgExpr)); local 975 auto *Mem = C.Allocate(Size, alignof(CXXDefaultArgExpr)); local 1019 auto *Mem = C.Allocate(Size, alignof(CXXDefaultInitExpr)); local 1030 auto *Mem = Ctx.Allocate(Size, alignof(CXXDefaultInitExpr)); local 1082 void *Mem = local 1093 void *Mem = local 1117 void *Mem = Ctx.Allocate(sizeof(CXXConstructExpr) + SizeOfTrailingObjects, local 1128 void *Mem = Ctx.Allocate(sizeof(CXXConstructExpr) + SizeOfTrailingObjects, local 1257 void *Mem = Context.Allocate(Size); local 1267 void *Mem = C.Allocate(Size); local 1426 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(Args.size())); local 1434 void *Mem = Context.Allocate(totalSizeToAlloc<Expr *>(NumArgs)); local 1499 void *Mem = Ctx.Allocate(Size, alignof(CXXDependentScopeMemberExpr)); local 1514 void *Mem = Ctx.Allocate(Size, alignof(CXXDependentScopeMemberExpr)); local 1599 void *Mem = Context.Allocate(Size, alignof(UnresolvedMemberExpr)); local 1612 void *Mem = Context.Allocate(Size, alignof(UnresolvedMemberExpr)); local 1798 void *Mem = C.Allocate(totalSizeToAlloc<TypeSourceInfo *>(Args.size())); local 1804 void *Mem = C.Allocate(totalSizeToAlloc<TypeSourceInfo *>(NumArgs)); local 1830 void *Mem = Ctx.Allocate(sizeof(CUDAKernelCallExpr) + SizeOfTrailingObjects, local 1843 void *Mem = Ctx.Allocate(sizeof(CUDAKernelCallExpr) + SizeOfTrailingObjects, local 1853 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(Args.size())); local 1861 void *Mem = C.Allocate(totalSizeToAlloc<Expr *>(NumExprs), local [all...] |
H A D | Stmt.cpp | 385 void *Mem = local 389 return new (Mem) CompoundStmt(Stmts, FPFeatures, LB, RB); 394 void *Mem = C.Allocate( local 397 CompoundStmt *New = new (Mem) CompoundStmt(EmptyShell()); 428 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(Attrs.size()), local 430 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); 436 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), local 438 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); 964 void *Mem = Ctx.Allocate( local 968 return new (Mem) 974 void *Mem = Ctx.Allocate( local 1085 void *Mem = Ctx.Allocate( local 1093 void *Mem = Ctx.Allocate( local 1147 void *Mem = local 1154 void *Mem = local 1206 void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate), local 1213 void *Mem = Ctx.Allocate(totalSizeToAlloc<const VarDecl *>(HasNRVOCandidate), local 1223 void *Mem = Ctx.Allocate( local 1232 void *Mem = Ctx.Allocate( local 1380 void *Mem = Context.Allocate(Size); local 1393 void *Mem = Context.Allocate(Size); local [all...] |
H A D | ExprConcepts.cpp | 178 void *Mem = local 182 return new (Mem) 190 void *Mem = local 194 return new (Mem) RequiresExpr(C, Empty, NumLocalParameters, NumRequirements);
|
H A D | Expr.cpp | 336 void *Mem = Context.Allocate(Size, alignof(ConstantExpr)); local 337 return new (Mem) ConstantExpr(E, StorageKind, IsImmediateInvocation); 364 void *Mem = Context.Allocate(Size, alignof(ConstantExpr)); local 365 return new (Mem) ConstantExpr(EmptyShell(), StorageKind); 513 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); local 514 return new (Mem) DeclRefExpr(Context, QualifierLoc, TemplateKWLoc, D, 530 void *Mem = Context.Allocate(Size, alignof(DeclRefExpr)); local 531 return new (Mem) DeclRefExpr(EmptyShell()); 632 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName), local 634 return new (Mem) PredefinedExp 639 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(HasFunctionName), local 1165 void *Mem = Ctx.Allocate(totalSizeToAlloc<unsigned, SourceLocation, char>( local 1176 void *Mem = Ctx.Allocate(totalSizeToAlloc<unsigned, SourceLocation, char>( local 1633 void *Mem = C.Allocate( local 1642 void *Mem = local 1717 void *Mem = C.Allocate(Size, alignof(MemberExpr)); local 1764 void *Mem = Context.Allocate(Size, alignof(MemberExpr)); local 4528 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1), local 4537 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(NumIndexExprs + 1), local 4659 void *Mem = Ctx.Allocate(totalSizeToAlloc<Stmt *>(Exprs.size()), local 4666 void *Mem = local 4708 void *Mem = local 4720 void *Mem = local 4729 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, local 4742 void *Mem = C.Allocate(sizeof(CompoundAssignOperator) + Extra, local 4751 void *Mem = C.Allocate(totalSizeToAlloc<FPOptionsOverride>(hasFPFeatures), local 4777 void *Mem = C.Allocate(Size, alignof(UnaryOperator)); local 5040 void *Mem = Ctx.Allocate(totalSizeToAlloc<Expr *>(SubExprs.size()), local 5046 void *Mem = Ctx.Allocate(totalSizeToAlloc<Expr *>(NumSubExprs), local 5082 void *Mem = Context.Allocate( local 5092 void *Mem = Context.Allocate( local [all...] |
H A D | TemplateBase.cpp | 191 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); local 192 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); 193 Integer.pVal = static_cast<uint64_t *>(Mem); 716 void *Mem = C.Allocate(size, alignof(ASTTemplateArgumentListInfo)); local 717 return new (Mem) ASTTemplateArgumentListInfo(List); 727 void *Mem = C.Allocate(size, alignof(ASTTemplateArgumentListInfo)); local 728 return new (Mem) ASTTemplateArgumentListInfo(List);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
H A D | X86Operand.h | 86 struct MemOp Mem; member in union:llvm::final::__anon2701 142 OS << "Memory: ModeSize=" << Mem.ModeSize; 143 if (Mem.Size) 144 OS << ",Size=" << Mem.Size; 145 if (Mem.BaseReg) 146 OS << ",BaseReg=" << X86IntelInstPrinter::getRegisterName(Mem.BaseReg); 147 if (Mem.IndexReg) 149 << X86IntelInstPrinter::getRegisterName(Mem.IndexReg); 150 if (Mem.Scale) 151 OS << ",Scale=" << Mem [all...] |
/freebsd-current/sys/contrib/dev/acpica/compiler/ |
H A D | aslsupport.y | 174 void *Mem; 180 Mem = ACPI_ALLOCATE_ZEROED (Size); 181 if (!Mem) 190 return (Mem);
|
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | Formula.cpp | 26 void *Mem = Alloc.Allocate(sizeof(Formula) + local 29 Formula *Result = new (Mem) Formula();
|
/freebsd-current/contrib/llvm-project/clang/lib/Sema/ |
H A D | TypeLocBuilder.h | 129 void *Mem = Context.Allocate(FullDataSize); local 130 memcpy(Mem, &Buffer[Index], FullDataSize); 131 return TypeLoc(T, Mem);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
H A D | SystemZAsmParser.cpp | 143 MemOp Mem; member in union:__anon2643::SystemZOperand::__anon2645 193 Op->Mem.MemKind = MemKind; 194 Op->Mem.RegKind = RegKind; 195 Op->Mem.Base = Base; 196 Op->Mem.Index = Index; 197 Op->Mem.Disp = Disp; 199 Op->Mem.Length.Imm = LengthImm; 201 Op->Mem.Length.Reg = LengthReg; 263 (Mem.MemKind == MemKind || 266 (Mem [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
H A D | VEAsmParser.cpp | 207 struct MemOp Mem; member in union:__anon2664::VEOperand::__anon2665 361 return Mem.Base; 367 return Mem.IndexReg; 373 return Mem.Index; 381 return Mem.Offset; 389 Mem.Offset = off; 429 OS << "Mem: #" << getMemBase() << "+#" << getMemIndexReg() << "+" 434 OS << "Mem: #" << getMemBase() << "+" << *getMemIndex() << "+" 439 OS << "Mem: 0+#" << getMemIndexReg() << "+" << *getMemOffset() << "\n"; 443 OS << "Mem [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingUtil.h | 67 void *lprofPtrFetchAdd(void **Mem, long ByteIncr);
|
H A D | InstrProfilingValue.c | 112 ValueProfNode **Mem = local 114 if (!Mem) 116 if (!COMPILER_RT_BOOL_CMPXCHG(&Data->Values, 0, Mem)) { 117 free(Mem);
|
H A D | InstrProfilingUtil.c | 104 void *lprofPtrFetchAdd(void **Mem, long ByteIncr) { argument 105 void *Old = *Mem; 106 *((char **)Mem) += ByteIncr;
|
/freebsd-current/sys/contrib/dev/acpica/components/resources/ |
H A D | rsaddr.c | 370 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET (Data.Address.Info.Mem.WriteProtect), 374 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET (Data.Address.Info.Mem.Caching), 378 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET (Data.Address.Info.Mem.RangeType), 382 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET (Data.Address.Info.Mem.Translation),
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 82 char *Mem = static_cast<char *>(operator new(N + sizeof(size_t) + local 84 *reinterpret_cast<size_t *>(Mem + N) = NameRef.size(); 85 CopyStringRef(Mem + N + sizeof(size_t), NameRef); 86 return Mem; 318 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); local 319 if (!Mem) 323 *reinterpret_cast<size_t *>(Mem + sizeof(MemBuffer)) = NameRef.size(); 324 CopyStringRef(Mem + sizeof(MemBuffer) + sizeof(size_t), NameRef); 327 char *Buf = (char *)alignAddr(Mem + StringLen, BufAlign); 330 auto *Ret = new (Mem) MemBuffe [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
H A D | SimpleExecutorMemoryManager.cpp | 128 char *Mem = Seg.Addr.toPtr<char *>(); local 130 memcpy(Mem, Seg.Content.data(), Seg.Content.size()); 131 memset(Mem + Seg.Content.size(), 0, Seg.Size - Seg.Content.size()); 134 {Mem, static_cast<size_t>(Seg.Size)}, 138 sys::Memory::InvalidateInstructionCache(Mem, Seg.Size);
|
/freebsd-current/sys/contrib/dev/acpica/os_specific/service_layers/ |
H A D | osunixxf.c | 762 void *Mem; local 765 Mem = (void *) malloc ((size_t) size); 766 return (Mem); 787 void *Mem; local 790 Mem = (void *) calloc (1, (size_t) size); 791 return (Mem);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
H A D | LanaiAsmParser.cpp | 139 struct MemOp Mem; member in union:__anon2467::LanaiOperand::__anon2468 171 return Mem.BaseReg; 176 return Mem.OffsetReg; 181 return Mem.Offset; 186 return Mem.AluOp; 614 Op->Mem.BaseReg = 0; 615 Op->Mem.AluOp = LPAC::ADD; 616 Op->Mem.OffsetReg = 0; 617 Op->Mem.Offset = Imm; 626 Op->Mem [all...] |