/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 72 return CreateAlignedLoad(Addr.getElementType(), Addr.getPointer(), 78 return CreateAlignedLoad(Addr.getElementType(), Addr.getPointer(), in CreateLoad() 83 return CreateAlignedLoad(Addr.getElementType(), Addr.getPointer(), 135 Addr.getPointer(), Cmp, New, Addr.getAlignment().getAsAlign(), 151 return Addr.withPointer(CreateAddrSpaceCast(Addr.getPointer(), Ty, Name), 201 CreateInBoundsGEP(Addr.getElementType(), Addr.getPointer(), 236 return Address(CreateGEP(Addr.getElementType(), Addr.getPointer(), 253 CreateGEP(Addr.getElementType(), Addr.getPointer(), Index, Name), 271 return Address(CreateGEP(Addr.getElementType(), Addr.getPointer(), 284 Addr.getElementType(), Addr.getPointer(), Idx0, Idx1, Name)); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEISelDAGToDAG.cpp | 89 if (matchADDRri(Addr, LHS, RHS)) { in INITIALIZE_PASS() 97 if (matchADDRrr(Addr, LHS, RHS)) { in INITIALIZE_PASS() 129 Base = Addr; in selectADDRrii() 143 if (isa<FrameIndexSDNode>(Addr)) in selectADDRzii() 167 Base = Addr; in selectADDRri() 174 if (isa<FrameIndexSDNode>(Addr)) in selectADDRzi() 193 if (isa<FrameIndexSDNode>(Addr)) in matchADDRrr() 205 if (!CurDAG->haveNoCommonBitsSet(Addr.getOperand(0), Addr.getOperand(1))) in matchADDRrr() 215 Base = Addr.getOperand(0); in matchADDRrr() 216 Index = Addr.getOperand(1); in matchADDRrr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCISelDAGToDAG.cpp | 78 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { in SelectAddrModeImm() 79 Base = Addr.getOperand(0); in SelectAddrModeImm() 92 if (Addr.getOpcode() != ISD::ADD && Addr.getOpcode() != ISD::SUB && in SelectAddrModeS9() 100 Base = Addr; in SelectAddrModeS9() 108 if (Addr.getOpcode() == ISD::SUB) in SelectAddrModeS9() 114 Base = Addr.getOperand(0); in SelectAddrModeS9() 123 Base = Addr; in SelectAddrModeS9() 130 if (SelectAddrModeS9(Addr, Base, Offset)) in SelectAddrModeFar() 137 if (Addr.getOpcode() == ISD::SUB) in SelectAddrModeFar() 139 Base = Addr.getOperand(0); in SelectAddrModeFar() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600ISelDAGToDAG.cpp | 38 bool SelectADDRIndirect(SDValue Addr, SDValue &Base, 81 if (!isa<ConstantSDNode>(Addr)) { in SelectGlobalValueVariableOffset() 82 BaseReg = Addr; in SelectGlobalValueVariableOffset() 133 SDLoc DL(Addr); in SelectADDRIndirect() 135 if ((C = dyn_cast<ConstantSDNode>(Addr))) { in SelectADDRIndirect() 142 } else if ((Addr.getOpcode() == ISD::ADD || Addr.getOpcode() == ISD::OR) && in SelectADDRIndirect() 144 Base = Addr.getOperand(0); in SelectADDRIndirect() 147 Base = Addr; in SelectADDRIndirect() 158 if (Addr.getOpcode() == ISD::ADD && in SelectADDRVTX_READ() 162 Base = Addr.getOperand(0); in SelectADDRVTX_READ() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | mem_map_linux.cpp | 62 if (Addr) in mmapWrapper() 82 void *P = mmapWrapper(Addr, Size, Name, Flags); in mapImpl() 91 void MemMapLinux::unmapImpl(uptr Addr, uptr Size) { in unmapImpl() argument 99 if (MapBase == Addr) in unmapImpl() 100 MapBase = Addr + Size; in unmapImpl() 105 reportUnmapError(Addr, Size); in unmapImpl() 110 void *P = mmapWrapper(Addr, Size, Name, Flags); in remapImpl() 111 if (reinterpret_cast<uptr>(P) != Addr) in remapImpl() 119 reportProtectError(Addr, Size, Prot); in setMemoryPermissionImpl() 123 void *Addr = reinterpret_cast<void *>(From); in releaseAndZeroPagesToOSImpl() local [all …]
|
H A D | mem_map_base.h | 26 bool map(uptr Addr, uptr Size, const char *Name, uptr Flags = 0) { 28 return invokeImpl(&Derived::mapImpl, Addr, Size, Name, Flags); 33 void unmap(uptr Addr, uptr Size) { in unmap() argument 35 DCHECK((Addr == getBase()) || (Addr + Size == getBase() + getCapacity())); in unmap() 36 invokeImpl(&Derived::unmapImpl, Addr, Size); in unmap() 44 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); 50 void setMemoryPermission(uptr Addr, uptr Size, uptr Flags) { in setMemoryPermission() argument 52 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); in setMemoryPermission() 109 MemMapT dispatch(uptr Addr, uptr Size) { in dispatch() argument 111 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); in dispatch() [all …]
|
H A D | mem_map.cpp | 15 bool MemMapDefault::mapImpl(uptr Addr, uptr Size, const char *Name, in mapImpl() argument 18 ::scudo::map(reinterpret_cast<void *>(Addr), Size, Name, Flags, &Data); in mapImpl() 27 void MemMapDefault::unmapImpl(uptr Addr, uptr Size) { in unmapImpl() argument 31 if (Base == Addr) { in unmapImpl() 32 Base = Addr + Size; in unmapImpl() 38 ::scudo::unmap(reinterpret_cast<void *>(Addr), Size, UNMAP_ALL, &Data); in unmapImpl() 41 bool MemMapDefault::remapImpl(uptr Addr, uptr Size, const char *Name, in remapImpl() argument 47 return RemappedAddr == Addr; in remapImpl() 57 return ::scudo::setMemoryPermission(Addr, Size, Flags); in setMemoryPermissionImpl() 66 void *Reserved = ::scudo::map(reinterpret_cast<void *>(Addr), Size, Name, in createImpl() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | executor_address.h | 72 explicit ExecutorAddr(uint64_t Addr) : Addr(Addr) {} in ExecutorAddr() argument 100 void setValue(uint64_t Addr) { this->Addr = Addr; } in setValue() argument 106 return LHS.Addr == RHS.Addr; 110 return LHS.Addr != RHS.Addr; 114 return LHS.Addr < RHS.Addr; 118 return LHS.Addr <= RHS.Addr; 122 return LHS.Addr > RHS.Addr; 126 return LHS.Addr >= RHS.Addr; 130 ++Addr; 134 --Addr; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/ |
H A D | AArch64Disassembler.cpp | 259 uint64_t Addr, 271 uint64_t Addr, 292 uint64_t Addr, 894 uint64_t Addr, in DecodePCRelLabel16() argument 909 uint64_t Addr, in DecodePCRelLabel19() argument 1194 DecodeFPR8RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction() 1641 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeAuthLoadInstruction() 1643 DecodeSImm<10>(Inst, offset, Addr, Decoder); in DecodeAuthLoadInstruction() 1808 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeAdrInstruction() 1981 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSyspXzrInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RDFGraph.cpp | 395 NA.Addr->Next = Nx; in append() 482 MA.Addr->append(NA); in addMemberAfter() 507 MA.Addr->setNext(NA.Addr->getNext()); in removeMember() 777 P.Addr->init(); in newNode() 786 memcpy(NA.Addr, B.Addr, sizeof(NodeBase)); in cloneNode() 1167 if (TA.Addr->getKind() != RA.Addr->getKind()) in getNextRelated() 1179 return IsRelated(TA) && &RA.Addr->getOp() == &TA.Addr->getOp(); in getNextRelated() 1537 TAP.Addr->setFlags(TAP.Addr->getFlags() | NodeAttrs::Shadow); in linkRefUp() 1678 TA.Addr->setSibling(UA.Addr->getSibling()); in unlinkUseDF() 1764 Last.Addr->setSibling(RDA.Addr->getReachedDef()); in unlinkDefDF() [all …]
|
H A D | RDFLiveness.cpp | 165 return BA.Addr->getCode(); in getAllReachingDefs() 360 NodeList Ins = BA.Addr->members(DFG); in getNearestAliasedRef() 406 Ins = BA.Addr->members(DFG); in getNearestAliasedRef() 434 U = UA.Addr->getSibling(); in getAllReachedUses() 440 NextD = DA.Addr->getSibling(); in getAllReachedUses() 511 uint16_t F = A.Addr->getFlags(); in computePhiInfo() 516 UN = A.Addr->getSibling(); in computePhiInfo() 532 DN = A.Addr->getSibling(); in computePhiInfo() 1060 if (B != BA.Addr->getCode()) { in traverse() 1095 if (BTA.Addr->getCode() != B) { in traverse() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelDAGToDAG.cpp | 81 bool selectAddrSls(SDValue Addr, SDValue &Offset); 110 SDLoc DL(Addr); in INITIALIZE_PASS() 118 if (Addr.getOpcode() == ISD::OR && in INITIALIZE_PASS() 120 Offset = Addr.getOperand(1).getOperand(0); in INITIALIZE_PASS() 129 SDLoc DL(Addr); in selectAddrRiSpls() 169 Addr.getOpcode() == ISD::TargetGlobalAddress)) in selectAddrRiSpls() 187 Base = Addr.getOperand(0); in selectAddrRiSpls() 200 Base = Addr; in selectAddrRiSpls() 250 if (Addr.getOpcode() == ISD::FrameIndex) in selectAddrRr() 277 R1 = Addr.getOperand(0); in selectAddrRr() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | ExecutorAddress.h | 75 explicit constexpr ExecutorAddr(uint64_t Addr) : Addr(Addr) {} in ExecutorAddr() argument 106 void setValue(uint64_t Addr) { this->Addr = Addr; } in setValue() argument 112 return LHS.Addr == RHS.Addr; 116 return LHS.Addr != RHS.Addr; 120 return LHS.Addr < RHS.Addr; 124 return LHS.Addr <= RHS.Addr; 128 return LHS.Addr > RHS.Addr; 132 return LHS.Addr >= RHS.Addr; 136 ++Addr; 140 --Addr; [all …]
|
H A D | TargetProcessControlTypes.h | 51 ExecutorAddr Addr; member 63 ExecutorAddr Addr; member 74 UIntWrite(ExecutorAddr Addr, T Value) : Addr(Addr), Value(Value) {} in UIntWrite() 76 ExecutorAddr Addr; member 97 : Addr(Addr), Buffer(Buffer) {} in BufferWrite() 99 ExecutorAddr Addr; member 108 : Addr(Addr), Value(Value) {} in PointerWrite() 110 ExecutorAddr Addr; member 302 W.Addr, W.Buffer); in size() 328 OB, W.Addr, W.Value); in serialize() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyld.cpp | 756 if (!Addr) in emitCommonSymbols() 794 Addr += Size; in emitCommonSymbols() 831 uint8_t *Addr; in emitSection() local 873 if (!Addr) in emitSection() 984 return Addr; in createStubFunction() 1006 return Addr; in createStubFunction() 1031 return Addr; in createStubFunction() 1058 return Addr; in createStubFunction() 1065 return Addr; in createStubFunction() 1073 return Addr; in createStubFunction() [all …]
|
H A D | RTDyldMemoryManager.cpp | 91 void RTDyldMemoryManager::registerEHFramesInProcess(uint8_t *Addr, in registerEHFramesInProcess() argument 96 const char *P = (const char *)Addr; in registerEHFramesInProcess() 104 const char *P = (const char *)Addr; in deregisterEHFramesInProcess() 119 __register_frame(Addr); in registerEHFramesInProcess() 124 __deregister_frame(Addr); in deregisterEHFramesInProcess() 131 registerEHFramesInProcess(Addr, Size); in registerEHFrames() 132 EHFrames.push_back({Addr, Size}); in registerEHFrames() 137 deregisterEHFramesInProcess(Frame.Addr, Frame.Size); in deregisterEHFrames() 284 uint64_t Addr = getSymbolAddress(Name); in getPointerToNamedFunction() local 286 if (!Addr && AbortOnFailure) in getPointerToNamedFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | Mips16ISelDAGToDAG.cpp | 100 SDLoc DL(Addr); in selectAddr() 101 EVT ValTy = Addr.getValueType(); in selectAddr() 112 if (Addr.getOpcode() == MipsISD::Wrapper) { in selectAddr() 113 Base = Addr.getOperand(0); in selectAddr() 114 Offset = Addr.getOperand(1); in selectAddr() 123 if (CurDAG->isBaseWithConstantOffset(Addr)) { in selectAddr() 136 Base = Addr.getOperand(0); in selectAddr() 142 if (Addr.getOpcode() == ISD::ADD) { in selectAddr() 156 Base = Addr.getOperand(0); in selectAddr() 162 Base = Addr; in selectAddr() [all …]
|
H A D | MipsSEISelDAGToDAG.h | 50 bool selectAddrRegImm(SDValue Addr, SDValue &Base, 53 bool selectAddrDefault(SDValue Addr, SDValue &Base, 56 bool selectIntAddr(SDValue Addr, SDValue &Base, 59 bool selectAddrRegImm9(SDValue Addr, SDValue &Base, 62 bool selectAddrRegImm11(SDValue Addr, SDValue &Base, 65 bool selectAddrRegImm12(SDValue Addr, SDValue &Base, 68 bool selectAddrRegImm16(SDValue Addr, SDValue &Base, 71 bool selectIntAddr11MM(SDValue Addr, SDValue &Base, 74 bool selectIntAddr12MM(SDValue Addr, SDValue &Base, 77 bool selectIntAddr16MM(SDValue Addr, SDValue &Base, [all …]
|
H A D | MipsISelDAGToDAG.h | 57 virtual bool selectAddrRegImm(SDValue Addr, SDValue &Base, 61 virtual bool selectAddrDefault(SDValue Addr, SDValue &Base, 65 virtual bool selectIntAddr(SDValue Addr, SDValue &Base, 68 virtual bool selectIntAddr11MM(SDValue Addr, SDValue &Base, 71 virtual bool selectIntAddr12MM(SDValue Addr, SDValue &Base, 74 virtual bool selectIntAddr16MM(SDValue Addr, SDValue &Base, 77 virtual bool selectIntAddrLSL2MM(SDValue Addr, SDValue &Base, 81 virtual bool selectIntAddrSImm10(SDValue Addr, SDValue &Base, 84 virtual bool selectIntAddrSImm10Lsl1(SDValue Addr, SDValue &Base, 87 virtual bool selectIntAddrSImm10Lsl2(SDValue Addr, SDValue &Base, [all …]
|
H A D | MipsSEISelDAGToDAG.cpp | 271 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex() 287 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset() 294 Base = Addr.getOperand(0); in selectAddrFrameIndexOffset() 320 Base = Addr.getOperand(0); in selectAddrRegImm() 321 Offset = Addr.getOperand(1); in selectAddrRegImm() 336 if (Addr.getOpcode() == ISD::ADD) { in selectAddrRegImm() 350 Base = Addr.getOperand(0); in selectAddrRegImm() 364 Base = Addr; in selectAddrDefault() 365 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), Addr.getValueType()); in selectAddrDefault() 372 selectAddrDefault(Addr, Base, Offset); in selectIntAddr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcISelDAGToDAG.cpp | 95 if (Addr.getOpcode() == ISD::ADD) { in SelectADDRri() 104 Base = Addr.getOperand(0); in SelectADDRri() 112 Base = Addr.getOperand(1); in SelectADDRri() 113 Offset = Addr.getOperand(0).getOperand(0); in SelectADDRri() 117 Base = Addr.getOperand(0); in SelectADDRri() 118 Offset = Addr.getOperand(1).getOperand(0); in SelectADDRri() 122 Base = Addr; in SelectADDRri() 134 if (Addr.getOpcode() == ISD::ADD) { in SelectADDRrr() 141 R1 = Addr.getOperand(0); in SelectADDRrr() 142 R2 = Addr.getOperand(1); in SelectADDRrr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | raw_socket_stream.cpp | 82 struct sockaddr_un Addr; local 83 memset(&Addr, 0, sizeof(Addr)); 84 Addr.sun_family = AF_UNIX; 85 strncpy(Addr.sun_path, SocketPath.str().c_str(), sizeof(Addr.sun_path) - 1); 87 if (bind(MaybeWinsocket, (struct sockaddr *)&Addr, sizeof(Addr)) == -1) { 140 struct sockaddr_un Addr; local 141 memset(&Addr, 0, sizeof(Addr)); 142 Addr.sun_family = AF_UNIX; 143 strncpy(Addr.sun_path, SocketPath.str().c_str(), sizeof(Addr.sun_path) - 1); 145 int status = connect(MaybeWinsocket, (struct sockaddr *)&Addr, sizeof(Addr));
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | MarkupFilter.cpp | 105 M->Addr, M->Addr + M->Size - 1); in tryMMap() 185 return A->Addr < B->Addr; in endAnyModuleInfoLine() 244 if (!Addr) in tryPC() 256 *Addr = adjustAddr(*Addr, Type); in tryPC() 301 if (!Addr) in tryBackTrace() 312 *Addr = adjustAddr(*Addr, Type); in tryBackTrace() 375 if (!Addr) in tryData() 559 uint64_t Addr; in parseAddr() local 564 return Addr; in parseAddr() 747 return this->Addr <= Addr && Addr < this->Addr + Size; in contains() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | SectionMemoryManager.cpp | 50 uintptr_t Addr = 0; in allocateSection() local 68 Addr = (uintptr_t)FreeMB.Free.base(); in allocateSection() 69 uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize(); in allocateSection() 71 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection() 89 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection() 90 return (uint8_t *)Addr; in allocateSection() 126 Addr = (uintptr_t)MB.base(); in allocateSection() 127 uintptr_t EndOfBlock = Addr + MB.allocatedSize(); in allocateSection() 130 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection() 137 unsigned FreeSize = EndOfBlock - Addr - Size; in allocateSection() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCDisassembler/ |
H A D | MCDisassembler.h | 29 uint64_t Addr; member 42 SymbolInfoTy(std::optional<XCOFF::StorageMappingClass> Smc, uint64_t Addr, in SymbolInfoTy() 44 : Addr(Addr), Name(Name), XCOFFSymInfo{Smc, Idx, Label}, Type(0), in SymbolInfoTy() 46 SymbolInfoTy(uint64_t Addr, StringRef Name, uint8_t Type, 48 : Addr(Addr), Name(Name), Type(Type), IsMappingSymbol(IsMappingSymbol), in Addr() function 59 return std::tie(P1.Addr, P1.Type, P1.Name) < 60 std::tie(P2.Addr, P2.Type, P2.Name); 63 return std::tie(P1.Addr, P1.XCOFFSymInfo, P1.Name) < 64 std::tie(P2.Addr, P2.XCOFFSymInfo, P2.Name); 68 return std::tie(P1.Addr, MS1, P1.Name, P1.Type) < [all …]
|