| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86Operand.h | 478 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 8); in isMemOffs16_8() 481 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 16); in isMemOffs16_16() 484 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 32); in isMemOffs16_32() 487 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 8); in isMemOffs32_8() 490 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 16); in isMemOffs32_16() 493 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 32); in isMemOffs32_32() 496 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 64); in isMemOffs32_64() 499 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 8); in isMemOffs64_8() 502 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 16); in isMemOffs64_16() 505 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 32); in isMemOffs64_32() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprObjC.cpp | 44 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 D | OpenMPClause.cpp | 404 void *Mem = in Create() local 419 void *Mem = in CreateEmpty() local 594 void *Mem = in Create() local 1059 void *Mem = C.Allocate( in Create() local 1077 void *Mem = in CreateEmpty() local 1164 void *Mem = C.Allocate( in Create() local 1186 void *Mem = C.Allocate( in CreateEmpty() local 1220 void *Mem = C.Allocate( in Create() local 1238 void *Mem = C.Allocate( in CreateEmpty() local 1270 void *Mem = C.Allocate( in Create() local [all …]
|
| H A D | ExprCXX.cpp | 257 void *Mem = in Create() local 261 return new (Mem) in Create() 271 void *Mem = in CreateEmpty() local 275 return new (Mem) in CreateEmpty() 413 return new (Mem) in CreateEmpty() 638 return new (Mem) in Create() 912 return new (Mem) in Create() 1082 void *Mem = in Create() local 1093 void *Mem = in CreateEmpty() local 1130 return new (Mem) in CreateEmpty() [all …]
|
| H A D | ASTConcept.cpp | 33 char *Mem = new (C) char[MessageSize]; in CreatUnsatisfiedConstraintRecord() local 34 memcpy(Mem, SubstitutionDiagnostic.second.data(), MessageSize); in CreatUnsatisfiedConstraintRecord() 36 SubstitutionDiagnostic.first, StringRef(Mem, MessageSize)); in CreatUnsatisfiedConstraintRecord() 71 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction)); in Create() local 72 return new (Mem) ASTConstraintSatisfaction(C, Satisfaction); in Create() 79 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction)); in Rebuild() local 80 return new (Mem) ASTConstraintSatisfaction(C, Satisfaction); in Rebuild()
|
| H A D | StmtCXX.cpp | 29 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); in Create() local 30 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); in Create() 36 void *Mem = C.Allocate(Size, alignof(CXXTryStmt)); in Create() local 37 return new (Mem) CXXTryStmt(Empty, numHandlers); in Create() 92 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create() local 93 return new (Mem) CoroutineBodyStmt(Args); in Create() 101 void *Mem = C.Allocate(Size, alignof(CoroutineBodyStmt)); in Create() local 102 auto *Result = new (Mem) CoroutineBodyStmt(CtorArgs()); in Create()
|
| H A D | StmtObjC.cpp | 51 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 D | DeclGroup.cpp | 23 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 D | Stmt.cpp | 385 void *Mem = in Create() local 394 void *Mem = C.Allocate( in CreateEmpty() local 964 void *Mem = Ctx.Allocate( in Create() local 968 return new (Mem) in Create() 974 void *Mem = Ctx.Allocate( in CreateEmpty() local 1085 void *Mem = Ctx.Allocate( in Create() local 1093 void *Mem = Ctx.Allocate( in CreateEmpty() local 1147 void *Mem = in Create() local 1154 void *Mem = in CreateEmpty() local 1223 void *Mem = Ctx.Allocate( in Create() local [all …]
|
| H A D | Expr.cpp | 1168 return new (Mem) in Create() 1179 return new (Mem) in CreateEmpty() 1472 void *Mem = in Create() local 1492 void *Mem = in CreateEmpty() local 1494 return new (Mem) in CreateEmpty() 1642 void *Mem = in CreateEmpty() local 4666 void *Mem = in CreateEmpty() local 4708 void *Mem = in CreateEmpty() local 4720 void *Mem = in Create() local 4722 return new (Mem) in Create() [all …]
|
| H A D | ExprConcepts.cpp | 178 void *Mem = in Create() local 182 return new (Mem) in Create() 190 void *Mem = in Create() local 194 return new (Mem) RequiresExpr(C, Empty, NumLocalParameters, NumRequirements); in Create()
|
| H A D | TemplateBase.cpp | 191 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in initFromIntegral() local 192 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in initFromIntegral() 193 Integer.pVal = static_cast<uint64_t *>(Mem); in initFromIntegral() 716 void *Mem = C.Allocate(size, alignof(ASTTemplateArgumentListInfo)); in Create() local 717 return new (Mem) ASTTemplateArgumentListInfo(List); in Create() 727 void *Mem = C.Allocate(size, alignof(ASTTemplateArgumentListInfo)); in Create() local 728 return new (Mem) ASTTemplateArgumentListInfo(List); in Create()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 207 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 …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 143 MemOp Mem; member 193 Op->Mem.MemKind = MemKind; in createMem() 195 Op->Mem.Base = Base; in createMem() 196 Op->Mem.Index = Index; in createMem() 197 Op->Mem.Disp = Disp; in createMem() 286 return Mem; in getMem() 312 addExpr(Inst, Mem.Disp); in addBDAddrOperands() 318 addExpr(Inst, Mem.Disp); in addBDXAddrOperands() 325 addExpr(Inst, Mem.Disp); in addBDLAddrOperands() 332 addExpr(Inst, Mem.Disp); in addBDRAddrOperands() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 82 char *Mem = static_cast<char *>(operator new(N + sizeof(size_t) + in operator new() local 84 *reinterpret_cast<size_t *>(Mem + N) = NameRef.size(); in operator new() 85 CopyStringRef(Mem + N + sizeof(size_t), NameRef); in operator new() 86 return Mem; in operator new() 318 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local 319 if (!Mem) in getNewUninitMemBuffer() 323 *reinterpret_cast<size_t *>(Mem + sizeof(MemBuffer)) = NameRef.size(); in getNewUninitMemBuffer() 324 CopyStringRef(Mem + sizeof(MemBuffer) + sizeof(size_t), NameRef); in getNewUninitMemBuffer() 327 char *Buf = (char *)alignAddr(Mem + StringLen, BufAlign); in getNewUninitMemBuffer() 330 auto *Ret = new (Mem) MemBuffer(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 139 struct MemOp Mem; member 171 return Mem.BaseReg; in getMemBaseReg() 176 return Mem.OffsetReg; in getMemOffsetReg() 181 return Mem.Offset; in getMemOffset() 186 return Mem.AluOp; in getMemOp() 614 Op->Mem.BaseReg = 0; in MorphToMemImm() 616 Op->Mem.OffsetReg = 0; in MorphToMemImm() 617 Op->Mem.Offset = Imm; in MorphToMemImm() 627 Op->Mem.AluOp = AluOp; in MorphToMemRegReg() 639 Op->Mem.AluOp = AluOp; in MorphToMemRegImm() [all …]
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | TypeLocBuilder.h | 129 void *Mem = Context.Allocate(FullDataSize); in getTypeLocInContext() local 130 memcpy(Mem, &Buffer[Index], FullDataSize); in getTypeLocInContext() 131 return TypeLoc(T, Mem); in getTypeLocInContext()
|
| H A D | CodeCompleteConsumer.cpp | 370 char *Mem = (char *)Allocate(Ref.size() + 1, 1); in CopyString() local 371 std::copy(Ref.begin(), Ref.end(), Mem); in CopyString() 372 Mem[Ref.size()] = 0; in CopyString() 373 return Mem; in CopyString() 437 void *Mem = getAllocator().Allocate( in TakeString() local 441 CodeCompletionString *Result = new (Mem) CodeCompletionString( in TakeString()
|
| /freebsd-14.2/sys/contrib/dev/acpica/os_specific/service_layers/ |
| H A D | osunixxf.c | 762 void *Mem; in AcpiOsAllocate() local 765 Mem = (void *) malloc ((size_t) size); in AcpiOsAllocate() 766 return (Mem); in AcpiOsAllocate() 787 void *Mem; in AcpiOsAllocateZeroed() local 790 Mem = (void *) calloc (1, (size_t) size); in AcpiOsAllocateZeroed() 791 return (Mem); in AcpiOsAllocateZeroed()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
| H A D | SimpleExecutorMemoryManager.cpp | 128 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()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingValue.c | 112 ValueProfNode **Mem = in allocateValueProfileCounters() local 114 if (!Mem) in allocateValueProfileCounters() 116 if (!COMPILER_RT_BOOL_CMPXCHG(&Data->Values, 0, Mem)) { in allocateValueProfileCounters() 117 free(Mem); in allocateValueProfileCounters()
|
| H A D | InstrProfilingUtil.c | 104 void *lprofPtrFetchAdd(void **Mem, long ByteIncr) { in lprofPtrFetchAdd() argument 105 void *Old = *Mem; in lprofPtrFetchAdd() 106 *((char **)Mem) += ByteIncr; in lprofPtrFetchAdd()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | Formula.cpp | 26 void *Mem = Alloc.Allocate(sizeof(Formula) + in create() local 29 Formula *Result = new (Mem) Formula(); in create()
|