Home
last modified time | relevance | path

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

/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/lib/Analysis/
DLoads.cpp170 uint64_t AccessSize = 0; in FindAvailableLoadedValue() local
173 AccessSize = AA->getTypeStoreSize(AccessTy); in FindAvailableLoadedValue()
215 (AA->getModRefInfo(SI, Ptr, AccessSize) & AliasAnalysis::Mod) == 0) in FindAvailableLoadedValue()
228 (AA->getModRefInfo(Inst, Ptr, AccessSize) & AliasAnalysis::Mod) == 0) in FindAvailableLoadedValue()
/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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp375 uint64_t AccessSize = AliasAnalysis::UnknownSize; in mayLoopAccessLocation() local
380 AccessSize = (BECst->getValue()->getZExtValue()+1)*StoreSize; in mayLoopAccessLocation()
386 AliasAnalysis::Location StoreLoc(Ptr, AccessSize); in mayLoopAccessLocation()
/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/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/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h375 unsigned &AccessSize) const;
DHexagonInstrInfo.cpp1671 unsigned AccessSize; in getIncrementValue() local
1672 return getBaseAndOffset(MI, Value, AccessSize); in getIncrementValue()
2945 unsigned AccessSize = 0; in getMemOpBaseRegImmOfs() local
2947 BaseReg = getBaseAndOffset(&LdSt, OffsetVal, AccessSize); in getMemOpBaseRegImmOfs()
3147 int &Offset, unsigned &AccessSize) const { in getBaseAndOffset()
3163 AccessSize = (1U << (getMemAccessSize(MI) - 1)); in getBaseAndOffset()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp430 unsigned AccessSize = 1 << AccessSizeIndex; in initializeCallbacks() local
431 std::string FunctionName = "__msan_maybe_warning_" + itostr(AccessSize); in initializeCallbacks()
433 FunctionName, IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), in initializeCallbacks()
436 FunctionName = "__msan_maybe_store_origin_" + itostr(AccessSize); in initializeCallbacks()
438 FunctionName, IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), in initializeCallbacks()