Home
last modified time | relevance | path

Searched refs:AccessSize (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp117 bool IsSmallMemAccess(unsigned AccessSize) { return AccessSize < 8; } in IsSmallMemAccess() argument
210 virtual void InstrumentMemOperandSmall(X86Operand &Op, unsigned AccessSize,
214 virtual void InstrumentMemOperandLarge(X86Operand &Op, unsigned AccessSize,
219 virtual void InstrumentMOVSImpl(unsigned AccessSize, MCContext &Ctx,
222 void InstrumentMemOperand(X86Operand &Op, unsigned AccessSize, bool IsWrite,
226 unsigned AccessSize, MCContext &Ctx, MCStreamer &Out);
280 X86Operand &Op, unsigned AccessSize, bool IsWrite, in InstrumentMemOperand() argument
283 assert((AccessSize & (AccessSize - 1)) == 0 && AccessSize <= 16 && in InstrumentMemOperand()
286 if (IsSmallMemAccess(AccessSize)) in InstrumentMemOperand()
287 InstrumentMemOperandSmall(Op, AccessSize, IsWrite, RegCtx, Ctx, Out); in InstrumentMemOperand()
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp93 unsigned AccessSize) { in HexagonMCEmitCommonSymbol() argument
107 ((AccessSize == 0) || (Size == 0) || (Size > GPSize)) in HexagonMCEmitCommonSymbol()
109 : sbss[(Log2_64(AccessSize))]; in HexagonMCEmitCommonSymbol()
128 if ((AccessSize) && (Size <= GPSize)) { in HexagonMCEmitCommonSymbol()
130 (AccessSize <= GPSize) in HexagonMCEmitCommonSymbol()
131 ? ELF::SHN_HEXAGON_SCOMMON + (Log2_64(AccessSize) + 1) in HexagonMCEmitCommonSymbol()
142 unsigned AccessSize) { in HexagonMCEmitLocalCommonSymbol() argument
147 HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignment, AccessSize); in HexagonMCEmitLocalCommonSymbol()
DHexagonMCELFStreamer.h35 unsigned AccessSize);
37 unsigned ByteAlignment, unsigned AccessSize);
DHexagonMCTargetDesc.cpp172 unsigned AccessSize) override { in EmitCommonSymbolSorted() argument
176 AccessSize); in EmitCommonSymbolSorted()
180 unsigned AccessSize) override { in EmitLocalCommonSymbolSorted() argument
184 Symbol, Size, ByteAlignment, AccessSize); in EmitLocalCommonSymbolSorted()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp90 unsigned AccessSize) { in HexagonMCEmitCommonSymbol() argument
104 ((AccessSize == 0) || (Size == 0) || (Size > GPSize)) in HexagonMCEmitCommonSymbol()
106 : sbss[(Log2_64(AccessSize))]; in HexagonMCEmitCommonSymbol()
127 if ((AccessSize) && (Size <= GPSize)) { in HexagonMCEmitCommonSymbol()
129 (AccessSize <= GPSize) in HexagonMCEmitCommonSymbol()
130 ? ELF::SHN_HEXAGON_SCOMMON + (Log2_64(AccessSize) + 1) in HexagonMCEmitCommonSymbol()
142 unsigned AccessSize) { in HexagonMCEmitLocalCommonSymbol() argument
147 HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignment, AccessSize); in HexagonMCEmitLocalCommonSymbol()
DHexagonMCELFStreamer.h37 unsigned AccessSize);
39 unsigned ByteAlignment, unsigned AccessSize);
DHexagonMCTargetDesc.cpp191 unsigned AccessSize) override { in EmitCommonSymbolSorted() argument
195 AccessSize); in EmitCommonSymbolSorted()
200 unsigned AccessSize) override { in EmitLocalCommonSymbolSorted() argument
204 Symbol, Size, ByteAlignment, AccessSize); in EmitLocalCommonSymbolSorted()
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCELFStreamer.cpp90 unsigned AccessSize) { in HexagonMCEmitCommonSymbol() argument
104 ((AccessSize == 0) || (Size == 0) || (Size > GPSize)) in HexagonMCEmitCommonSymbol()
106 : sbss[(Log2_64(AccessSize))]; in HexagonMCEmitCommonSymbol()
127 if ((AccessSize) && (Size <= GPSize)) { in HexagonMCEmitCommonSymbol()
129 (AccessSize <= GPSize) in HexagonMCEmitCommonSymbol()
130 ? ELF::SHN_HEXAGON_SCOMMON + (Log2_64(AccessSize) + 1) in HexagonMCEmitCommonSymbol()
142 unsigned AccessSize) { in HexagonMCEmitLocalCommonSymbol() argument
147 HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignment, AccessSize); in HexagonMCEmitLocalCommonSymbol()
DHexagonMCELFStreamer.h37 unsigned AccessSize);
39 unsigned ByteAlignment, unsigned AccessSize);
DHexagonMCTargetDesc.cpp256 unsigned AccessSize) override { in emitCommonSymbolSorted() argument
260 AccessSize); in emitCommonSymbolSorted()
265 unsigned AccessSize) override { in emitLocalCommonSymbolSorted() argument
269 Symbol, Size, ByteAlignment, AccessSize); in emitLocalCommonSymbolSorted()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoads.cpp153 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()), in isDereferenceableAndAlignedPointer() local
155 return isDereferenceableAndAlignedPointer(V, Alignment, AccessSize, DL, CtxI, in isDereferenceableAndAlignedPointer()
234 const APInt AccessSize = TC * EltSize; in isDereferenceableAndAlignedInLoop() local
247 return isDereferenceableAndAlignedPointer(Base, Alignment, AccessSize, DL, in isDereferenceableAndAlignedInLoop()
425 auto AccessSize = LocationSize::precise(DL.getTypeStoreSize(AccessTy)); in FindAvailablePtrLoadStore() local
456 if (AA && !isModSet(AA->getModRefInfo(SI, StrippedPtr, AccessSize))) in FindAvailablePtrLoadStore()
468 if (AA && !isModSet(AA->getModRefInfo(Inst, StrippedPtr, AccessSize))) in FindAvailablePtrLoadStore()
DStackSafetyAnalysis.cpp214 uint64_t AccessSize);
249 uint64_t AccessSize) { in getAccessRange() argument
258 ConstantRange SizeRange = getRange(0, AccessSize); in getAccessRange()
DTypeBasedAliasAnalysis.cpp552 uint64_t AccessSize = UINT64_MAX; in createAccessTag() local
554 ConstantAsMetadata::get(ConstantInt::get(Int64, AccessSize)); in createAccessTag()
/external/llvm-project/llvm/lib/Analysis/
DLoads.cpp192 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()), in isDereferenceableAndAlignedPointer() local
194 return isDereferenceableAndAlignedPointer(V, Alignment, AccessSize, DL, CtxI, in isDereferenceableAndAlignedPointer()
270 const APInt AccessSize = TC * EltSize; in isDereferenceableAndAlignedInLoop() local
283 return isDereferenceableAndAlignedPointer(Base, Alignment, AccessSize, DL, in isDereferenceableAndAlignedInLoop()
478 auto AccessSize = LocationSize::precise(DL.getTypeStoreSize(AccessTy)); in FindAvailablePtrLoadStore() local
519 if (!isModSet(AA->getModRefInfo(SI, StrippedPtr, AccessSize))) in FindAvailablePtrLoadStore()
532 if (AA && !isModSet(AA->getModRefInfo(Inst, StrippedPtr, AccessSize))) in FindAvailablePtrLoadStore()
DTypeBasedAliasAnalysis.cpp552 uint64_t AccessSize = UINT64_MAX; in createAccessTag() local
554 ConstantAsMetadata::get(ConstantInt::get(Int64, AccessSize)); in createAccessTag()
/external/llvm/lib/Analysis/
DLoads.cpp327 uint64_t AccessSize = DL.getTypeStoreSize(AccessTy); in FindAvailableLoadedValue() local
395 if (AA && (AA->getModRefInfo(SI, StrippedPtr, AccessSize) & MRI_Mod) == 0) in FindAvailableLoadedValue()
408 (AA->getModRefInfo(Inst, StrippedPtr, AccessSize) & MRI_Mod) == 0) in FindAvailableLoadedValue()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp706 uint64_t AccessSize = MemoryLocation::UnknownSize; in mayLoopAccessLocation() local
711 AccessSize = (BECst->getValue()->getZExtValue() + 1) * StoreSize; in mayLoopAccessLocation()
717 MemoryLocation StoreLoc(Ptr, AccessSize); in mayLoopAccessLocation()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h375 unsigned &AccessSize) const;
/external/llvm/lib/CodeGen/
DSafeStack.cpp224 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe() argument
232 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AccessSize)); in IsAccessSafe()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStack.cpp231 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe() argument
239 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AccessSize)); in IsAccessSafe()
/external/llvm-project/llvm/lib/CodeGen/
DSafeStack.cpp233 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe() argument
241 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AccessSize)); in IsAccessSafe()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h431 unsigned &AccessSize) const;
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h434 unsigned &AccessSize) const;
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp847 LocationSize AccessSize = LocationSize::afterPointer(); in mayLoopAccessLocation() local
852 AccessSize = LocationSize::precise((BECst->getValue()->getZExtValue() + 1) * in mayLoopAccessLocation()
859 MemoryLocation StoreLoc(Ptr, AccessSize); in mayLoopAccessLocation()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp806 LocationSize AccessSize = LocationSize::unknown(); in mayLoopAccessLocation() local
811 AccessSize = LocationSize::precise((BECst->getValue()->getZExtValue() + 1) * in mayLoopAccessLocation()
818 MemoryLocation StoreLoc(Ptr, AccessSize); in mayLoopAccessLocation()

12