/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 58 llvm::Value *emitRawPointerFromAddress(Address Addr) const { in emitRawPointerFromAddress() argument 59 return Addr.getBasePointer(); in emitRawPointerFromAddress() 63 Address createConstGEP2_32(Address Addr, unsigned Idx0, unsigned Idx1, in createConstGEP2_32() argument 69 Addr.getElementType(), emitRawPointerFromAddress(Addr), Idx0, Idx1, in createConstGEP2_32() 73 Addr.getElementType(), emitRawPointerFromAddress(Addr), Idx0, Idx1, in createConstGEP2_32() 76 DL.getIndexSizeInBits(Addr.getType()->getPointerAddressSpace()), 0, in createConstGEP2_32() 81 Addr.getAlignment().alignmentAtOffset( in createConstGEP2_32() 83 IsInBounds ? Addr.isKnownNonNull() : NotKnownNonNull); in createConstGEP2_32() 107 llvm::LoadInst *CreateLoad(Address Addr, const llvm::Twine &Name = "") { 108 return CreateAlignedLoad(Addr.getElementType(), [all …]
|
H A D | CGValue.h | 105 static RValue get(Address Addr, CodeGenFunction &CGF) { 106 return RValue::get(Addr.emitRawPointer(CGF)); 193 Address Addr = Address::invalid(); 243 void Initialize(QualType Type, Qualifiers Quals, Address Addr, 248 CharUnits Alignment = Addr.getAlignment(); 255 this->Addr = Addr; 267 void initializeSimpleLValue(Address Addr, QualType Type, 273 Initialize(Type, QS, Addr, BaseInfo, TBAAInfo); 274 assert(Addr.getBasePointer()->getType()->isPointerTy()); 343 CharUnits getAlignment() const { return Addr.getAlignment(); } [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEISelDAGToDAG.cpp | 84 bool VEDAGToDAGISel::selectADDRrri(SDValue Addr, SDValue &Base, SDValue &Index, in INITIALIZE_PASS() 86 if (Addr.getOpcode() == ISD::FrameIndex) in INITIALIZE_PASS() 88 if (Addr.getOpcode() == ISD::TargetExternalSymbol || in INITIALIZE_PASS() 89 Addr.getOpcode() == ISD::TargetGlobalAddress || in INITIALIZE_PASS() 90 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) in INITIALIZE_PASS() 94 if (matchADDRri(Addr, LHS, RHS)) { in INITIALIZE_PASS() 102 if (matchADDRrr(Addr, LHS, RHS)) { in INITIALIZE_PASS() 121 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in INITIALIZE_PASS() 127 bool VEDAGToDAGISel::selectADDRrii(SDValue Addr, SDValue &Base, SDValue &Index, in selectADDRrii() argument 129 if (matchADDRri(Addr, Base, Offset)) { in selectADDRrii() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCISelDAGToDAG.cpp | 52 bool SelectFrameADDR_ri(SDValue Addr, SDValue &Base, SDValue &Offset); 53 bool SelectAddrModeS9(SDValue Addr, SDValue &Base, SDValue &Offset); 54 bool SelectAddrModeImm(SDValue Addr, SDValue &Base, SDValue &Offset); 55 bool SelectAddrModeFar(SDValue Addr, SDValue &Base, SDValue &Offset); 82 bool ARCDAGToDAGISel::SelectAddrModeImm(SDValue Addr, SDValue &Base, in SelectAddrModeImm() argument 84 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { in SelectAddrModeImm() 85 Base = Addr.getOperand(0); in SelectAddrModeImm() 86 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectAddrModeImm() 92 bool ARCDAGToDAGISel::SelectAddrModeS9(SDValue Addr, SDValue &Base, in SelectAddrModeS9() argument 94 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { in SelectAddrModeS9() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600ISelDAGToDAG.cpp | 26 bool SelectGlobalValueConstantOffset(SDValue Addr, SDValue &IntPtr); 27 bool SelectGlobalValueVariableOffset(SDValue Addr, SDValue &BaseReg, 38 bool SelectADDRIndirect(SDValue Addr, SDValue &Base, 40 bool SelectADDRVTX_READ(SDValue Addr, SDValue &Base, 79 bool R600DAGToDAGISel::SelectGlobalValueConstantOffset(SDValue Addr, in SelectGlobalValueConstantOffset() argument 81 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) { in SelectGlobalValueConstantOffset() 83 CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), true); in SelectGlobalValueConstantOffset() 89 bool R600DAGToDAGISel::SelectGlobalValueVariableOffset(SDValue Addr, in SelectGlobalValueVariableOffset() argument 92 if (!isa<ConstantSDNode>(Addr)) { in SelectGlobalValueVariableOffset() 93 BaseReg = Addr; in SelectGlobalValueVariableOffset() [all …]
|
H A D | AMDGPUISelDAGToDAG.h | 116 bool isBaseWithConstantOffset64(SDValue Addr, SDValue &LHS, 126 virtual bool SelectADDRVTX_READ(SDValue Addr, SDValue &Base, SDValue &Offset); 127 virtual bool SelectADDRIndirect(SDValue Addr, SDValue &Base, SDValue &Offset); 132 bool isFlatScratchBaseLegal(SDValue Addr) const; 133 bool isFlatScratchBaseLegalSV(SDValue Addr) const; 134 bool isFlatScratchBaseLegalSVImm(SDValue Addr) const; 145 bool SelectMUBUF(SDValue Addr, SDValue &SRsrc, SDValue &VAddr, 148 bool SelectMUBUFAddr64(SDValue Addr, SDValue &SRsrc, SDValue &VAddr, 150 bool SelectMUBUFScratchOffen(SDNode *Parent, SDValue Addr, SDValue &RSrc, 153 bool SelectMUBUFScratchOffset(SDNode *Parent, SDValue Addr, SDValue &SRsrc, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaISelDAGToDAG.cpp | 38 bool selectMemRegAddr(SDValue Addr, SDValue &Base, SDValue &Offset, in selectMemRegAddr() argument 40 EVT ValTy = Addr.getValueType(); in selectMemRegAddr() 43 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) { in selectMemRegAddr() 45 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectMemRegAddr() 53 Addr.getDebugLoc()); in selectMemRegAddr() 57 if ((Addr.getOpcode() == ISD::TargetExternalSymbol || in selectMemRegAddr() 58 Addr.getOpcode() == ISD::TargetGlobalAddress)) in selectMemRegAddr() 63 if (CurDAG->isBaseWithConstantOffset(Addr)) { in selectMemRegAddr() 64 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1)); in selectMemRegAddr() 72 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0))) in selectMemRegAddr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RDFGraph.cpp | 54 uint16_t Attrs = NA.Addr->getAttrs(); in operator <<() 113 OS << Print(RA.Id, G) << '<' << Print(RA.Addr->getRegRef(G), G) << '>'; in printRefHeader() 114 if (RA.Addr->getFlags() & NodeAttrs::Fixed) in printRefHeader() 121 if (NodeId N = P.Obj.Addr->getReachingDef()) in operator <<() 124 if (NodeId N = P.Obj.Addr->getReachedDef()) in operator <<() 127 if (NodeId N = P.Obj.Addr->getReachedUse()) in operator <<() 130 if (NodeId N = P.Obj.Addr->getSibling()) in operator <<() 138 if (NodeId N = P.Obj.Addr->getReachingDef()) in operator <<() 141 if (NodeId N = P.Obj.Addr->getSibling()) in operator <<() 149 if (NodeId N = P.Obj.Addr->getReachingDef()) in operator <<() [all …]
|
H A D | RDFLiveness.cpp | 117 if (RefA.Addr->getFlags() & NodeAttrs::Undef) in getAllReachingDefs() 125 if (NodeId RD = SNA.Addr->getReachingDef()) in getAllReachingDefs() 128 for (auto S : DFG.getRelatedRefs(RefA.Addr->getOwner(DFG), RefA)) in getAllReachingDefs() 129 if (NodeId RD = NodeAddr<RefNode *>(S).Addr->getReachingDef()) in getAllReachingDefs() 141 if (TA.Addr->getFlags() & NodeAttrs::PhiRef) in getAllReachingDefs() 144 RegisterRef RR = TA.Addr->getRegRef(DFG); in getAllReachingDefs() 150 for (auto S : DFG.getRelatedRefs(TA.Addr->getOwner(DFG), TA)) in getAllReachingDefs() 151 if (NodeId RD = NodeAddr<RefNode *>(S).Addr->getReachingDef()) in getAllReachingDefs() 160 if (IA.Addr->getKind() == NodeAttrs::Stmt) in getAllReachingDefs() 161 return NodeAddr<StmtNode *>(IA).Addr->getCode()->getParent(); in getAllReachingDefs() [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 85 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); 86 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t"); 94 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); 95 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t"); 99 uint64_t getValue() const { return Addr; } in getValue() 100 void setValue(uint64_t Addr) { this->Addr = Addr; } in setValue() argument 101 bool isNull() const { return Addr == 0; } in isNull() 103 explicit operator bool() const { return Addr != 0; } 106 return LHS.Addr == RHS.Addr; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelDAGToDAG.cpp | 72 bool selectAddrRi(SDValue Addr, SDValue &Base, SDValue &Offset, 74 bool selectAddrRr(SDValue Addr, SDValue &R1, SDValue &R2, SDValue &AluOp); 75 bool selectAddrSls(SDValue Addr, SDValue &Offset); 76 bool selectAddrSpls(SDValue Addr, SDValue &Base, SDValue &Offset, 85 bool selectAddrRiSpls(SDValue Addr, SDValue &Base, SDValue &Offset, 109 bool LanaiDAGToDAGISel::selectAddrSls(SDValue Addr, SDValue &Offset) { in INITIALIZE_PASS() 110 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr)) { in INITIALIZE_PASS() 111 SDLoc DL(Addr); in INITIALIZE_PASS() 119 if (Addr.getOpcode() == ISD::OR && in INITIALIZE_PASS() 120 Addr.getOperand(1).getOpcode() == LanaiISD::SMALL) { in INITIALIZE_PASS() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/ |
H A D | AArch64Disassembler.cpp | 145 uint64_t Addr, 148 uint64_t Addr, 151 uint64_t Addr, 154 uint64_t Addr, 157 uint64_t Addr, 160 uint64_t Addr, 163 uint64_t Addr, 166 uint64_t Addr, 169 uint64_t Addr, 172 uint64_t Addr, [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 90 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); 91 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t"); 100 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); 101 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t"); 105 uint64_t getValue() const { return Addr; } in getValue() 106 void setValue(uint64_t Addr) { this->Addr = Addr; } in setValue() argument 107 bool isNull() const { return Addr == 0; } in isNull() 109 explicit operator bool() const { return Addr != 0; } 112 return LHS.Addr == RHS.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 96 BufferWrite(ExecutorAddr Addr, StringRef Buffer) in BufferWrite() 97 : Addr(Addr), Buffer(Buffer) {} in BufferWrite() 99 ExecutorAddr Addr; member [all...] |
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
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() 42 bool remap(uptr Addr, uptr Size, const char *Name, uptr Flags = 0) { 44 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); 45 return invokeImpl(&Derived::remapImpl, Addr, Size, Name, Flags); 50 void setMemoryPermission(uptr Addr, uptr Size, uptr Flags) { in setMemoryPermission() argument 52 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); in setMemoryPermission() [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 44 ::scudo::map(reinterpret_cast<void *>(Addr), Size, Name, Flags, &Data); in remapImpl() 47 return RemappedAddr == Addr; in remapImpl() 56 void MemMapDefault::setMemoryPermissionImpl(uptr Addr, uptr Size, uptr Flags) { in setMemoryPermissionImpl() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyld.cpp | 152 uint64_t Addr = getSectionLoadAddress(Idx); in resolveLocalRelocations() local 154 << format("%p", (uintptr_t)Addr) << "\n"); in resolveLocalRelocations() 155 resolveRelocationList(Rel.second, Addr); in resolveLocalRelocations() 299 uint64_t Addr = 0; in loadObjectImpl() local 301 Addr = *AddrOrErr; in loadObjectImpl() 309 << " Offset: " << format("%p", (uintptr_t)Addr) in loadObjectImpl() 314 Name, SymbolTableEntry(SectionID, Addr, *JITSymFlags)); in loadObjectImpl() 754 uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign, SectionID, in emitCommonSymbols() local 756 if (!Addr) in emitCommonSymbols() 760 SectionEntry("<common symbols>", Addr, CommonSize, CommonSize, 0)); in emitCommonSymbols() [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() 102 void RTDyldMemoryManager::deregisterEHFramesInProcess(uint8_t *Addr, in deregisterEHFramesInProcess() argument 104 const char *P = (const char *)Addr; in deregisterEHFramesInProcess() 112 void RTDyldMemoryManager::registerEHFramesInProcess(uint8_t *Addr, in registerEHFramesInProcess() argument 119 __register_frame(Addr); in registerEHFramesInProcess() 122 void RTDyldMemoryManager::deregisterEHFramesInProcess(uint8_t *Addr, in deregisterEHFramesInProcess() argument 124 __deregister_frame(Addr); in deregisterEHFramesInProcess() 129 void RTDyldMemoryManager::registerEHFrames(uint8_t *Addr, uint64_t LoadAddr, in registerEHFrames() argument 131 registerEHFramesInProcess(Addr, Siz in registerEHFrames() 284 uint64_t Addr = getSymbolAddress(Name); getPointerToNamedFunction() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | Mips16ISelDAGToDAG.cpp | 98 bool Mips16DAGToDAGISel::selectAddr(bool SPAllowed, SDValue Addr, SDValue &Base, in selectAddr() argument 100 SDLoc DL(Addr); in selectAddr() 101 EVT ValTy = Addr.getValueType(); in selectAddr() 105 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) { in selectAddr() 112 if (Addr.getOpcode() == MipsISD::Wrapper) { in selectAddr() 113 Base = Addr.getOperand(0); in selectAddr() 114 Offset = Addr.getOperand(1); in selectAddr() 118 if ((Addr.getOpcode() == ISD::TargetExternalSymbol || in selectAddr() 119 Addr.getOpcode() == ISD::TargetGlobalAddress)) in selectAddr() 123 if (CurDAG->isBaseWithConstantOffset(Addr)) { in selectAddr() [all …]
|
H A D | MipsSEISelDAGToDAG.h | 43 bool selectAddrFrameIndex(SDValue Addr, SDValue &Base, SDValue &Offset) const; 44 bool selectAddrFrameIndexOffset(SDValue Addr, SDValue &Base, SDValue &Offset, 48 bool selectAddrRegImm(SDValue Addr, SDValue &Base, 51 bool selectAddrDefault(SDValue Addr, SDValue &Base, 54 bool selectIntAddr(SDValue Addr, SDValue &Base, 57 bool selectAddrRegImm9(SDValue Addr, SDValue &Base, 60 bool selectAddrRegImm11(SDValue Addr, SDValue &Base, 63 bool selectAddrRegImm12(SDValue Addr, SDValue &Base, 66 bool selectAddrRegImm16(SDValue Addr, SDValue &Base, 69 bool selectIntAddr11MM(SDValue Addr, SDValue &Base, [all …]
|
H A D | MipsSEISelDAGToDAG.cpp | 268 bool MipsSEDAGToDAGISel::selectAddrFrameIndex(SDValue Addr, SDValue &Base, in selectAddrFrameIndex() argument 270 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) { in selectAddrFrameIndex() 271 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex() 274 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectAddrFrameIndex() 282 SDValue Addr, SDValue &Base, SDValue &Offset, unsigned OffsetBits, in selectAddrFrameIndexOffset() argument 284 if (CurDAG->isBaseWithConstantOffset(Addr)) { in selectAddrFrameIndexOffset() 285 auto *CN = cast<ConstantSDNode>(Addr.getOperand(1)); in selectAddrFrameIndexOffset() 287 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset() 291 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0))) in selectAddrFrameIndexOffset() 294 Base = Addr.getOperand(0); in selectAddrFrameIndexOffset() [all …]
|
H A D | MipsISelDAGToDAG.h | 53 virtual bool selectAddrRegImm(SDValue Addr, SDValue &Base, 57 virtual bool selectAddrDefault(SDValue Addr, SDValue &Base, 61 virtual bool selectIntAddr(SDValue Addr, SDValue &Base, 64 virtual bool selectIntAddr11MM(SDValue Addr, SDValue &Base, 67 virtual bool selectIntAddr12MM(SDValue Addr, SDValue &Base, 70 virtual bool selectIntAddr16MM(SDValue Addr, SDValue &Base, 73 virtual bool selectIntAddrLSL2MM(SDValue Addr, SDValue &Base, 77 virtual bool selectIntAddrSImm10(SDValue Addr, SDValue &Base, 80 virtual bool selectIntAddrSImm10Lsl1(SDValue Addr, SDValue &Base, 83 virtual bool selectIntAddrSImm10Lsl2(SDValue Addr, SDValue &Base, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcISelDAGToDAG.cpp | 88 bool SparcDAGToDAGISel::SelectADDRri(SDValue Addr, in SelectADDRri() argument 90 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) { in SelectADDRri() 93 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectADDRri() 96 if (Addr.getOpcode() == ISD::TargetExternalSymbol || in SelectADDRri() 97 Addr.getOpcode() == ISD::TargetGlobalAddress || in SelectADDRri() 98 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) in SelectADDRri() 101 if (Addr.getOpcode() == ISD::ADD) { in SelectADDRri() 102 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1))) { in SelectADDRri() 105 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0))) { in SelectADDRri() 110 Base = Addr.getOperand(0); in SelectADDRri() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | MarkupFilter.cpp | 105 M->Addr, M->Addr + M->Size - 1); in tryMMap() 110 auto Res = MMaps.emplace(ParsedMMap->Addr, std::move(*ParsedMMap)); in tryMMap() 185 return A->Addr < B->Addr; in endAnyModuleInfoLine() 190 printValue(formatv("{0:x}", M->Addr)); in endAnyModuleInfoLine() 192 printValue(formatv("{0:x}", M->Addr + M->Size - 1)); in endAnyModuleInfoLine() 243 std::optional<uint64_t> Addr = parseAddr(Node.Fields[0]); in tryPC() local 244 if (!Addr) in tryPC() 256 *Addr in tryPC() 300 std::optional<uint64_t> Addr = parseAddr(Node.Fields[1]); tryBackTrace() local 374 std::optional<uint64_t> Addr = parseAddr(Node.Fields[0]); tryData() local 559 uint64_t Addr; parseAddr() local 735 adjustAddr(uint64_t Addr,PCType Type) const adjustAddr() argument [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() 75 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 84 Addr + Size - (uintptr_t)PendingMB.base()); 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() [all …]
|