Home
last modified time | relevance | path

Searched refs:Addr (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/freebsd-12.1/contrib/compiler-rt/lib/esan/
H A Desan_interface.cpp33 void __esan_aligned_load1(void *Addr) { in __esan_aligned_load1() argument
37 void __esan_aligned_load2(void *Addr) { in __esan_aligned_load2() argument
41 void __esan_aligned_load4(void *Addr) { in __esan_aligned_load4() argument
45 void __esan_aligned_load8(void *Addr) { in __esan_aligned_load8() argument
49 void __esan_aligned_load16(void *Addr) { in __esan_aligned_load16() argument
53 void __esan_aligned_store1(void *Addr) { in __esan_aligned_store1() argument
57 void __esan_aligned_store2(void *Addr) { in __esan_aligned_store2() argument
61 void __esan_aligned_store4(void *Addr) { in __esan_aligned_store4() argument
65 void __esan_aligned_store8(void *Addr) { in __esan_aligned_store8() argument
69 void __esan_aligned_store16(void *Addr) { in __esan_aligned_store16() argument
[all …]
H A Desan_interface_internal.h53 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_load1(void *Addr);
54 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_load2(void *Addr);
55 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_load4(void *Addr);
56 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_load8(void *Addr);
57 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_load16(void *Addr);
59 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_store1(void *Addr);
60 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_store2(void *Addr);
61 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_store4(void *Addr);
62 SANITIZER_INTERFACE_ATTRIBUTE void __esan_aligned_store8(void *Addr);
77 void __esan_unaligned_loadN(void *Addr, uptr Size);
[all …]
H A Desan_linux.cpp52 bool fixMmapAddr(void **Addr, SIZE_T Size, int Flags) { in fixMmapAddr() argument
53 if (*Addr) { in fixMmapAddr()
54 if (!liesWithinSingleAppRegion((uptr)*Addr, Size)) { in fixMmapAddr()
56 *Addr, (uptr)*Addr + Size); in fixMmapAddr()
61 *Addr = 0; in fixMmapAddr()
68 uptr checkMmapResult(uptr Addr, SIZE_T Size) { in checkMmapResult() argument
69 if ((void *)Addr == MAP_FAILED) in checkMmapResult()
70 return Addr; in checkMmapResult()
71 if (!liesWithinSingleAppRegion(Addr, Size)) { in checkMmapResult()
75 Printf("ERROR: unsupported mapping at [%p-%p)\n", Addr, Addr+Size); in checkMmapResult()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuilder.h71 return CreateAlignedLoad(Addr.getPointer(),
78 return CreateAlignedLoad(Addr.getPointer(), in CreateLoad()
84 return CreateAlignedLoad(Addr.getPointer(),
129 llvm::LoadInst *CreateFlagLoad(llvm::Value *Addr,
145 Addr.getAlignment());
152 Addr.getAlignment());
160 return CreateBitCast(Addr, PtrTy, Name);
168 return Address(Ptr, Addr.getAlignment());
214 return Address(CreateInBoundsGEP(Addr.getElementType(), Addr.getPointer(),
228 return Address(CreateGEP(Addr.getElementType(), Addr.getPointer(),
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/ARC/
H A DARCISelDAGToDAG.cpp78 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-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiISelDAGToDAG.cpp81 bool selectAddrSls(SDValue Addr, SDValue &Offset);
106 SDLoc DL(Addr); in selectAddrSls()
114 if (Addr.getOpcode() == ISD::OR && in selectAddrSls()
116 Offset = Addr.getOperand(1).getOperand(0); in selectAddrSls()
125 SDLoc DL(Addr); in selectAddrRiSpls()
165 Addr.getOpcode() == ISD::TargetGlobalAddress)) in selectAddrRiSpls()
183 Base = Addr.getOperand(0); in selectAddrRiSpls()
196 Base = Addr; in selectAddrRiSpls()
215 if (Addr.getOpcode() == ISD::FrameIndex) in selectAddrRr()
242 R1 = Addr.getOperand(0); in selectAddrRr()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DRDFGraph.cpp533 MA.Addr->setNext(NA.Addr->getNext()); in removeMember()
799 P.Addr->init(); in newNode()
808 memcpy(NA.Addr, B.Addr, sizeof(NodeBase)); in cloneNode()
1178 if (TA.Addr->getKind() != RA.Addr->getKind()) in getNextRelated()
1180 if (TA.Addr->getRegRef(*this) != RA.Addr->getRegRef(*this)) in getNextRelated()
1186 &RA.Addr->getOp() == &TA.Addr->getOp(); in getNextRelated()
1196 return TUA.Addr->getPredecessor() == RUA.Addr->getPredecessor(); in getNextRelated()
1616 TAP.Addr->setFlags(TAP.Addr->getFlags() | NodeAttrs::Shadow); in linkRefUp()
1759 TA.Addr->setSibling(UA.Addr->getSibling()); in unlinkUseDF()
1845 Last.Addr->setSibling(RDA.Addr->getReachedDef()); in unlinkDefDF()
[all …]
H A DRDFLiveness.cpp177 return BA.Addr->getCode(); in getAllReachingDefs()
327 NodeList Ins = BA.Addr->members(DFG); in getNearestAliasedRef()
373 Ins = BA.Addr->members(DFG); in getNearestAliasedRef()
401 U = UA.Addr->getSibling(); in getAllReachedUses()
407 NextD = DA.Addr->getSibling(); in getAllReachedUses()
477 uint16_t F = A.Addr->getFlags(); in computePhiInfo()
482 UN = A.Addr->getSibling(); in computePhiInfo()
498 DN = A.Addr->getSibling(); in computePhiInfo()
1005 if (B != BA.Addr->getCode()) { in traverse()
1040 if (BTA.Addr->getCode() != B) { in traverse()
[all …]
H A DRDFDeadCode.cpp86 if (!isLiveInstr(NodeAddr<StmtNode*>(IA).Addr->getCode())) in scanInstr()
88 for (NodeAddr<RefNode*> RA : IA.Addr->members(DFG)) { in scanInstr()
96 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in processDef()
129 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) in collect()
158 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in collect()
159 for (NodeAddr<RefNode*> RA : IA.Addr->members(DFG)) in collect()
189 uint16_t Type = BA.Addr->getType(); in erase()
196 uint16_t Kind = BA.Addr->getKind(); in erase()
210 uint16_t KindA = A.Addr->getKind(), KindB = B.Addr->getKind(); in erase()
232 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in erase()
[all …]
H A DRDFCopy.cpp77 if (interpretAsCopy(SA.Addr->getCode(), EM)) in scanBlock()
93 if (RA.Addr->getKind() == NodeAttrs::Def) in getLocalReachingDef()
95 assert(RA.Addr->getKind() == NodeAttrs::Use); in getLocalReachingDef()
96 if (NodeId RD = RA.Addr->getReachingDef()) in getLocalReachingDef()
146 RegisterRef DR = DA.Addr->getRegRef(DFG); in run()
158 NextN = UA.Addr->getSibling(); in run()
159 uint16_t F = UA.Addr->getFlags(); in run()
162 if (UA.Addr->getRegRef(DFG) != DR) in run()
171 MachineOperand &Op = UA.Addr->getOp(); in run()
187 UA.Addr->setReachingDef(0); in run()
[all …]
H A DHexagonOptAddrMode.cpp170 RegisterRef RR = UA.Addr->getRegRef(*DFG); in canRemoveAddasl()
173 OffsetRegRD = UA.Addr->getReachingDef(); in canRemoveAddasl()
180 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) in canRemoveAddasl()
216 RegisterRef UR = UN.Addr->getRegRef(*DFG); in allValidCandidates()
292 RegisterRef RR = UA.Addr->getRegRef(*DFG); in isSafeToExtLR()
295 LRExtRegRD = UA.Addr->getReachingDef(); in isSafeToExtLR()
304 if (UA.Addr->getFlags() & NodeAttrs::PhiRef) in isSafeToExtLR()
356 MachineInstr *MI = SN.Addr->getCode(); in processAddUses()
443 MachineInstr &MI = *SN.Addr->getCode(); in analyzeUses()
690 for (auto IA : BA.Addr->members(*DFG)) { in processBlock()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp962 DecodeGPR32RegisterClass(Inst, Rd, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
963 DecodeGPR32RegisterClass(Inst, Rn, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
964 DecodeGPR32RegisterClass(Inst, Rm, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
983 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
1077 DecodeFPR8RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1267 DecodeFPR8RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSignedLdStInstruction()
1638 DecodeVectorRegisterClass(Inst, Rd, Addr, Decoder); in DecodeModImmTiedInstruction()
1639 DecodeVectorRegisterClass(Inst, Rd, Addr, Decoder); in DecodeModImmTiedInstruction()
1659 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeAdrInstruction()
1815 DecodeZPRRegisterClass(Inst, Zdn, Addr, Decoder); in DecodeSVELogicalImmInstruction()
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp667 if (!Addr) in emitCommonSymbols()
742 uint8_t *Addr; in emitSection() local
774 if (!Addr) in emitSection()
881 return Addr; in createStubFunction()
903 return Addr; in createStubFunction()
928 return Addr; in createStubFunction()
955 return Addr; in createStubFunction()
962 return Addr; in createStubFunction()
970 return Addr; in createStubFunction()
1045 if (!Addr) in applyExternalSymbolRelocations()
[all …]
H A DRTDyldMemoryManager.cpp97 void RTDyldMemoryManager::registerEHFramesInProcess(uint8_t *Addr, in registerEHFramesInProcess() argument
102 const char *P = (const char *)Addr; in registerEHFramesInProcess()
111 const char *P = (const char *)Addr; in deregisterEHFramesInProcess()
127 __register_frame(Addr); in registerEHFramesInProcess()
132 __deregister_frame(Addr); in deregisterEHFramesInProcess()
139 registerEHFramesInProcess(Addr, Size); in registerEHFrames()
140 EHFrames.push_back({Addr, Size}); in registerEHFrames()
145 deregisterEHFramesInProcess(Frame.Addr, Frame.Size); in deregisterEHFrames()
292 uint64_t Addr = getSymbolAddress(Name); in getPointerToNamedFunction() local
294 if (!Addr && AbortOnFailure) in getPointerToNamedFunction()
[all …]
H A DRuntimeDyldImpl.h333 *Addr = (Value >> 8) & 0xFF; in writeInt16BE()
334 *(Addr + 1) = Value & 0xFF; in writeInt16BE()
340 *Addr = (Value >> 24) & 0xFF; in writeInt32BE()
341 *(Addr + 1) = (Value >> 16) & 0xFF; in writeInt32BE()
342 *(Addr + 2) = (Value >> 8) & 0xFF; in writeInt32BE()
343 *(Addr + 3) = Value & 0xFF; in writeInt32BE()
349 *Addr = (Value >> 56) & 0xFF; in writeInt64BE()
350 *(Addr + 1) = (Value >> 48) & 0xFF; in writeInt64BE()
355 *(Addr + 6) = (Value >> 8) & 0xFF; in writeInt64BE()
356 *(Addr + 7) = Value & 0xFF; in writeInt64BE()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp101 SDLoc DL(Addr); in selectAddr()
102 EVT ValTy = Addr.getValueType(); in selectAddr()
113 if (Addr.getOpcode() == MipsISD::Wrapper) { in selectAddr()
114 Base = Addr.getOperand(0); in selectAddr()
115 Offset = Addr.getOperand(1); in selectAddr()
124 if (CurDAG->isBaseWithConstantOffset(Addr)) { in selectAddr()
137 Base = Addr.getOperand(0); in selectAddr()
143 if (Addr.getOpcode() == ISD::ADD) { in selectAddr()
157 Base = Addr.getOperand(0); in selectAddr()
163 Base = Addr; in selectAddr()
[all …]
H A DMipsSEISelDAGToDAG.h51 bool selectAddrRegImm(SDValue Addr, SDValue &Base,
54 bool selectAddrDefault(SDValue Addr, SDValue &Base,
57 bool selectIntAddr(SDValue Addr, SDValue &Base,
60 bool selectAddrRegImm9(SDValue Addr, SDValue &Base,
63 bool selectAddrRegImm11(SDValue Addr, SDValue &Base,
66 bool selectAddrRegImm12(SDValue Addr, SDValue &Base,
69 bool selectAddrRegImm16(SDValue Addr, SDValue &Base,
72 bool selectIntAddr11MM(SDValue Addr, SDValue &Base,
75 bool selectIntAddr12MM(SDValue Addr, SDValue &Base,
78 bool selectIntAddr16MM(SDValue Addr, SDValue &Base,
[all …]
H A DMipsSEISelDAGToDAG.cpp324 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex()
340 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset()
347 Base = Addr.getOperand(0); in selectAddrFrameIndexOffset()
372 Base = Addr.getOperand(0); in selectAddrRegImm()
373 Offset = Addr.getOperand(1); in selectAddrRegImm()
388 if (Addr.getOpcode() == ISD::ADD) { in selectAddrRegImm()
402 Base = Addr.getOperand(0); in selectAddrRegImm()
416 Base = Addr; in selectAddrDefault()
417 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), Addr.getValueType()); in selectAddrDefault()
424 selectAddrDefault(Addr, Base, Offset); in selectIntAddr()
[all …]
H A DMipsISelDAGToDAG.h59 virtual bool selectAddrRegImm(SDValue Addr, SDValue &Base,
63 virtual bool selectAddrDefault(SDValue Addr, SDValue &Base,
67 virtual bool selectIntAddr(SDValue Addr, SDValue &Base,
70 virtual bool selectIntAddr11MM(SDValue Addr, SDValue &Base,
73 virtual bool selectIntAddr12MM(SDValue Addr, SDValue &Base,
76 virtual bool selectIntAddr16MM(SDValue Addr, SDValue &Base,
79 virtual bool selectIntAddrLSL2MM(SDValue Addr, SDValue &Base,
83 virtual bool selectIntAddrSImm10(SDValue Addr, SDValue &Base,
86 virtual bool selectIntAddrSImm10Lsl1(SDValue Addr, SDValue &Base,
89 virtual bool selectIntAddrSImm10Lsl2(SDValue Addr, SDValue &Base,
[all …]
H A DMipsISelDAGToDAG.cpp77 bool MipsDAGToDAGISel::selectAddrRegImm(SDValue Addr, SDValue &Base, in selectAddrRegImm() argument
83 bool MipsDAGToDAGISel::selectAddrDefault(SDValue Addr, SDValue &Base, in selectAddrDefault() argument
89 bool MipsDAGToDAGISel::selectIntAddr(SDValue Addr, SDValue &Base, in selectIntAddr() argument
95 bool MipsDAGToDAGISel::selectIntAddr11MM(SDValue Addr, SDValue &Base, in selectIntAddr11MM() argument
101 bool MipsDAGToDAGISel::selectIntAddr12MM(SDValue Addr, SDValue &Base, in selectIntAddr12MM() argument
107 bool MipsDAGToDAGISel::selectIntAddr16MM(SDValue Addr, SDValue &Base, in selectIntAddr16MM() argument
113 bool MipsDAGToDAGISel::selectIntAddrLSL2MM(SDValue Addr, SDValue &Base, in selectIntAddrLSL2MM() argument
119 bool MipsDAGToDAGISel::selectIntAddrSImm10(SDValue Addr, SDValue &Base, in selectIntAddrSImm10() argument
125 bool MipsDAGToDAGISel::selectIntAddrSImm10Lsl1(SDValue Addr, SDValue &Base, in selectIntAddrSImm10Lsl1() argument
143 bool MipsDAGToDAGISel::selectAddr16(SDValue Addr, SDValue &Base, in selectAddr16() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp89 if (Addr.getOpcode() == ISD::ADD) { in SelectADDRri()
98 Base = Addr.getOperand(0); in SelectADDRri()
106 Base = Addr.getOperand(1); in SelectADDRri()
107 Offset = Addr.getOperand(0).getOperand(0); in SelectADDRri()
111 Base = Addr.getOperand(0); in SelectADDRri()
112 Offset = Addr.getOperand(1).getOperand(0); in SelectADDRri()
116 Base = Addr; in SelectADDRri()
128 if (Addr.getOpcode() == ISD::ADD) { in SelectADDRrr()
135 R1 = Addr.getOperand(0); in SelectADDRrr()
136 R2 = Addr.getOperand(1); in SelectADDRrr()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp681 SDLoc DL(Addr); in SelectADDRIndirect()
695 Base = Addr; in SelectADDRIndirect()
849 SDLoc DL(Addr); in SelectDS1Addr1Offset()
907 Base = Addr; in SelectDS1Addr1Offset()
981 Base = Addr; in SelectDS64Bit4ByteAligned()
1294 Addr = N0; in SelectFlatOffset()
1299 VAddr = Addr; in SelectFlatOffset()
1356 return Addr; in Expand32BitAddress()
1368 Addr, in Expand32BitAddress()
2241 Base = Addr; in SelectADDRIndirect()
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp51 uintptr_t Addr = 0; in allocateSection() local
69 Addr = (uintptr_t)FreeMB.Free.base(); in allocateSection()
70 uintptr_t EndOfBlock = Addr + FreeMB.Free.size(); in allocateSection()
72 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection()
90 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection()
91 return (uint8_t *)Addr; in allocateSection()
118 Addr = (uintptr_t)MB.base(); in allocateSection()
119 uintptr_t EndOfBlock = Addr + MB.size(); in allocateSection()
122 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection()
129 unsigned FreeSize = EndOfBlock - Addr - Size; in allocateSection()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp107 bool addrPointsToConstantData(Value *Addr);
307 Addr = Addr->stripInBoundsOffsets(); in shouldInstrumentReadWriteFromAddress()
327 if (Addr) { in shouldInstrumentReadWriteFromAddress()
339 Addr = GEP->getPointerOperand(); in addrPointsToConstantData()
379 WriteTargets.insert(Addr); in chooseInstructionsToInstrument()
385 if (WriteTargets.count(Addr)) { in chooseInstructionsToInstrument()
395 Value *Addr = isa<StoreInst>(*I) in chooseInstructionsToInstrument() local
520 Value *Addr = IsWrite in instrumentLoadOrStore() local
527 if (Addr->isSwiftError()) in instrumentLoadOrStore()
629 Value *Addr = LI->getPointerOperand(); in instrumentAtomic() local
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp105 uint64_t Addr = *AddrOrErr; in notifyObjectLoaded() local
108 if (Wrapper->op_write_native_code(Name.data(), Addr, (void *)Addr, Size) == in notifyObjectLoaded()
111 << Name << " at [" << (void *)Addr << "-" in notifyObjectLoaded()
112 << ((char *)Addr + Size) << "]\n"); in notifyObjectLoaded()
116 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size); in notifyObjectLoaded()
131 if (Wrapper->op_write_debug_line_info((void *)Addr, num_entries, in notifyObjectLoaded()
134 << (void *)Addr << "-" << ((char *)Addr + Size) in notifyObjectLoaded()
161 uint64_t Addr = *AddrOrErr; in notifyFreeingObject() local
163 if (Wrapper->op_unload_native_code(Addr) == -1) { in notifyFreeingObject()
167 << (void *)Addr << "\n"); in notifyFreeingObject()

12345678910>>...13