| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86Operand.h | 427 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 8); in isMemOffs16_8() 430 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 16); in isMemOffs16_16() 433 return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 32); in isMemOffs16_32() 436 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 8); in isMemOffs32_8() 439 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 16); in isMemOffs32_16() 442 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 32); in isMemOffs32_32() 445 return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 64); in isMemOffs32_64() 448 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 8); in isMemOffs64_8() 451 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 16); in isMemOffs64_16() 454 return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 32); in isMemOffs64_32() [all …]
|
| /freebsd-13.1/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 | 384 void *Mem = in Create() local 399 void *Mem = in CreateEmpty() local 573 void *Mem = in Create() local 1031 void *Mem = C.Allocate( in Create() local 1048 void *Mem = in CreateEmpty() local 1135 void *Mem = C.Allocate( in Create() local 1156 void *Mem = C.Allocate( in CreateEmpty() local 1188 void *Mem = C.Allocate( in Create() local 1206 void *Mem = C.Allocate( in CreateEmpty() local 1238 void *Mem = C.Allocate( in Create() local [all …]
|
| H A D | ExprCXX.cpp | 255 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() 1004 void *Mem = in Create() local 1015 void *Mem = in CreateEmpty() local 1052 return new (Mem) in CreateEmpty() [all …]
|
| H A D | StmtCXX.cpp | 28 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 D | ASTConcept.cpp | 38 char *Mem = new (C) char[MessageSize]; local 39 memcpy(Mem, SubstitutionDiagnostic.second.data(), MessageSize); 41 SubstitutionDiagnostic.first, StringRef(Mem, MessageSize)); 57 void *Mem = C.Allocate(size, alignof(ASTConstraintSatisfaction)); in Create() local 58 return new (Mem) ASTConstraintSatisfaction(C, Satisfaction); in Create()
|
| H A D | Stmt.cpp | 381 void *Mem = in Create() local 388 void *Mem = in CreateEmpty() local 956 void *Mem = Ctx.Allocate( in Create() local 960 return new (Mem) in Create() 966 void *Mem = Ctx.Allocate( in CreateEmpty() local 1077 void *Mem = Ctx.Allocate( in Create() local 1085 void *Mem = Ctx.Allocate( in CreateEmpty() local 1139 void *Mem = in Create() local 1146 void *Mem = in CreateEmpty() local 1215 void *Mem = Ctx.Allocate( in Create() local [all …]
|
| H A D | StmtObjC.cpp | 52 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); in Create() local 53 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create() 62 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); in CreateEmpty() local 63 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 | Expr.cpp | 1131 return new (Mem) in Create() 1142 return new (Mem) in CreateEmpty() 1431 void *Mem = in Create() local 1451 void *Mem = in CreateEmpty() local 1453 return new (Mem) in CreateEmpty() 1595 void *Mem = in CreateEmpty() local 4471 void *Mem = in CreateEmpty() local 4513 void *Mem = in CreateEmpty() local 4525 void *Mem = in Create() local 4527 return new (Mem) in Create() [all …]
|
| H A D | ExprConcepts.cpp | 199 void *Mem = in Create() local 203 return new (Mem) RequiresExpr(C, RequiresKWLoc, Body, LocalParameters, in Create() 210 void *Mem = in Create() local 214 return new (Mem) RequiresExpr(C, Empty, NumLocalParameters, NumRequirements); in Create()
|
| H A D | TemplateBase.cpp | 170 void *Mem = Ctx.Allocate(NumWords * sizeof(uint64_t)); in TemplateArgument() local 171 std::memcpy(Mem, Value.getRawData(), NumWords * sizeof(uint64_t)); in TemplateArgument() 172 Integer.pVal = static_cast<uint64_t *>(Mem); in TemplateArgument() 614 void *Mem = C.Allocate(size, alignof(ASTTemplateArgumentListInfo)); in Create() local 615 return new (Mem) ASTTemplateArgumentListInfo(List); in Create()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 138 MemOp Mem; member 188 Op->Mem.MemKind = MemKind; in createMem() 190 Op->Mem.Base = Base; in createMem() 191 Op->Mem.Index = Index; in createMem() 192 Op->Mem.Disp = Disp; in createMem() 281 return Mem; in getMem() 307 addExpr(Inst, Mem.Disp); in addBDAddrOperands() 313 addExpr(Inst, Mem.Disp); in addBDXAddrOperands() 320 addExpr(Inst, Mem.Disp); in addBDLAddrOperands() 327 addExpr(Inst, Mem.Disp); in addBDRAddrOperands() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 204 struct MemOp Mem; member 358 return Mem.Base; in getMemBase() 364 return Mem.IndexReg; in getMemIndexReg() 370 return Mem.Index; in getMemIndex() 378 return Mem.Offset; in getMemOffset() 386 Mem.Offset = off; in setMemOffset() 694 Op->Mem.Base = Base; in MorphToMEMri() 705 Op->Mem.Base = 0; in MorphToMEMzi() 716 Op->Mem.Base = Base; in MorphToMEMrri() 739 Op->Mem.Base = 0; in MorphToMEMzri() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 141 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 …]
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | TypeLocBuilder.h | 120 void *Mem = Context.Allocate(FullDataSize); in getTypeLocInContext() local 121 memcpy(Mem, &Buffer[Index], FullDataSize); in getTypeLocInContext() 122 return TypeLoc(T, Mem); in getTypeLocInContext()
|
| H A D | CodeCompleteConsumer.cpp | 352 char *Mem = (char *)Allocate(Ref.size() + 1, 1); in CopyString() local 353 std::copy(Ref.begin(), Ref.end(), Mem); in CopyString() 354 Mem[Ref.size()] = 0; in CopyString() 355 return Mem; in CopyString() 420 void *Mem = getAllocator().Allocate( in TakeString() local 424 CodeCompletionString *Result = new (Mem) CodeCompletionString( in TakeString()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 77 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); in operator new() local 78 CopyStringRef(Mem + N, NameRef); in operator new() 79 return Mem; in operator new() 299 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow)); in getNewUninitMemBuffer() local 300 if (!Mem) in getNewUninitMemBuffer() 304 CopyStringRef(Mem + sizeof(MemBuffer), NameRef); in getNewUninitMemBuffer() 307 char *Buf = Mem + AlignedStringLen; in getNewUninitMemBuffer() 310 auto *Ret = new (Mem) MemBuffer(StringRef(Buf, Size), true); in getNewUninitMemBuffer()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingValue.c | 100 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 D | InstrProfilingUtil.c | 98 void *lprofPtrFetchAdd(void **Mem, long ByteIncr) { in lprofPtrFetchAdd() argument 99 void *Old = *Mem; in lprofPtrFetchAdd() 100 *((char **)Mem) += ByteIncr; in lprofPtrFetchAdd()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 256 struct MemOp Mem; member 334 return Mem.Base; in getMemBase() 339 return Mem.OffsetReg; in getMemOffsetReg() 344 return Mem.Off; in getMemOff() 527 Op->Mem.Base = Base; in MorphToMEMrr() 529 Op->Mem.Off = nullptr; in MorphToMEMrr() 536 Op->Mem.Base = Base; in CreateMEMr() 538 Op->Mem.Off = nullptr; in CreateMEMr() 548 Op->Mem.Base = Base; in MorphToMEMri() 549 Op->Mem.OffsetReg = 0; in MorphToMEMri() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/ |
| H A D | MSP430AsmParser.cpp | 110 Memory Mem; member 123 : Base(), Kind(k_Mem), Mem({Reg, Expr}), Start(S), End(E) {} in MSP430Operand() 154 Inst.addOperand(MCOperand::createReg(Mem.Reg)); in addMemOperands() 155 addExprOperand(Inst, Mem.Offset); in addMemOperands() 240 O << *Mem.Offset << "(" << Reg << ")"; in print()
|