/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmInstrumentation.cpp | 117 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmInstrumentation.cpp | 127 static bool IsSmallMemAccess(unsigned AccessSize) { return AccessSize < 8; } in IsSmallMemAccess() argument 221 virtual void InstrumentMemOperandSmall(X86Operand &Op, unsigned AccessSize, 225 virtual void InstrumentMemOperandLarge(X86Operand &Op, unsigned AccessSize, 230 virtual void InstrumentMOVSImpl(unsigned AccessSize, MCContext &Ctx, 233 void InstrumentMemOperand(X86Operand &Op, unsigned AccessSize, bool IsWrite, 237 unsigned AccessSize, MCContext &Ctx, MCStreamer &Out); 293 X86Operand &Op, unsigned AccessSize, bool IsWrite, in InstrumentMemOperand() argument 296 assert((AccessSize & (AccessSize - 1)) == 0 && AccessSize <= 16 && in InstrumentMemOperand() 299 if (IsSmallMemAccess(AccessSize)) in InstrumentMemOperand() 300 InstrumentMemOperandSmall(Op, AccessSize, IsWrite, RegCtx, Ctx, Out); in InstrumentMemOperand() [all …]
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCELFStreamer.cpp | 93 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()
|
D | HexagonMCELFStreamer.h | 35 unsigned AccessSize); 37 unsigned ByteAlignment, unsigned AccessSize);
|
D | HexagonMCTargetDesc.cpp | 172 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-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCELFStreamer.cpp | 91 unsigned AccessSize) { in HexagonMCEmitCommonSymbol() argument 105 ((AccessSize == 0) || (Size == 0) || (Size > GPSize)) in HexagonMCEmitCommonSymbol() 107 : 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() 143 unsigned AccessSize) { in HexagonMCEmitLocalCommonSymbol() argument 148 HexagonMCEmitCommonSymbol(Symbol, Size, ByteAlignment, AccessSize); in HexagonMCEmitLocalCommonSymbol()
|
D | HexagonMCELFStreamer.h | 39 unsigned AccessSize); 41 unsigned ByteAlignment, unsigned AccessSize);
|
D | HexagonMCTargetDesc.cpp | 188 unsigned AccessSize) override { in EmitCommonSymbolSorted() argument 192 AccessSize); in EmitCommonSymbolSorted() 197 unsigned AccessSize) override { in EmitLocalCommonSymbolSorted() argument 201 Symbol, Size, ByteAlignment, AccessSize); in EmitLocalCommonSymbolSorted()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | Loads.cpp | 170 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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | Loads.cpp | 348 uint64_t AccessSize = DL.getTypeStoreSize(AccessTy); in FindAvailablePtrLoadStore() local 417 if (AA && !isModSet(AA->getModRefInfo(SI, StrippedPtr, AccessSize))) in FindAvailablePtrLoadStore() 429 if (AA && !isModSet(AA->getModRefInfo(Inst, StrippedPtr, AccessSize))) in FindAvailablePtrLoadStore()
|
D | TypeBasedAliasAnalysis.cpp | 554 uint64_t AccessSize = UINT64_MAX; in createAccessTag() local 556 ConstantAsMetadata::get(ConstantInt::get(Int64, AccessSize)); in createAccessTag()
|
/external/llvm/lib/Analysis/ |
D | Loads.cpp | 327 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/ |
D | LoopIdiomRecognize.cpp | 375 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/ |
D | LoopIdiomRecognize.cpp | 706 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/ |
D | SafeStack.cpp | 224 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/ |
D | HexagonInstrInfo.h | 375 unsigned &AccessSize) const;
|
D | HexagonInstrInfo.cpp | 1671 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 231 bool SafeStack::IsAccessSafe(Value *Addr, uint64_t AccessSize, in IsAccessSafe() argument 239 ConstantRange(APInt(BitWidth, 0), APInt(BitWidth, AccessSize)); in IsAccessSafe()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 775 uint64_t AccessSize = MemoryLocation::UnknownSize; in mayLoopAccessLocation() local 780 AccessSize = (BECst->getValue()->getZExtValue() + 1) * StoreSize; in mayLoopAccessLocation() 786 MemoryLocation StoreLoc(Ptr, AccessSize); in mayLoopAccessLocation()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 440 unsigned &AccessSize) const;
|
D | HexagonLoopIdiomRecognition.cpp | 1973 LocationSize AccessSize = MemoryLocation::UnknownSize; in mayLoopAccessLocation() local 1978 AccessSize = (BECst->getValue()->getZExtValue() + 1) * StoreSize; in mayLoopAccessLocation() 1984 MemoryLocation StoreLoc(Ptr, AccessSize); in mayLoopAccessLocation()
|
D | HexagonInstrInfo.cpp | 2889 unsigned AccessSize = 0; in getMemOpBaseRegImmOfs() local 2891 BaseReg = getBaseAndOffset(LdSt, OffsetVal, AccessSize); in getMemOpBaseRegImmOfs() 3103 int &Offset, unsigned &AccessSize) const { in getBaseAndOffset() 3110 AccessSize = getMemAccessSize(MI); in getBaseAndOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 223 unsigned Idx, uint32_t AccessSize, const SmallVectorImpl<EVT> &ValueVTs, in CanMergeParamLoadStoresStartingAt() argument 225 assert(isPowerOf2_32(AccessSize) && "must be a power of 2!"); in CanMergeParamLoadStoresStartingAt() 228 if (AccessSize > ParamAlignment) in CanMergeParamLoadStoresStartingAt() 231 if (Offsets[Idx] & (AccessSize - 1)) in CanMergeParamLoadStoresStartingAt() 238 if (EltSize >= AccessSize) in CanMergeParamLoadStoresStartingAt() 241 unsigned NumElts = AccessSize / EltSize; in CanMergeParamLoadStoresStartingAt() 243 if (AccessSize != EltSize * NumElts) in CanMergeParamLoadStoresStartingAt() 298 for (unsigned AccessSize : {16, 8, 4, 2}) { in VectorizePTXValueVTs() 300 I, AccessSize, ValueVTs, Offsets, ParamAlignment); in VectorizePTXValueVTs()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 430 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 573 unsigned AccessSize = 1 << AccessSizeIndex; in createUserspaceApi() local 574 std::string FunctionName = "__msan_maybe_warning_" + itostr(AccessSize); in createUserspaceApi() 576 FunctionName, IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), in createUserspaceApi() 579 FunctionName = "__msan_maybe_store_origin_" + itostr(AccessSize); in createUserspaceApi() 581 FunctionName, IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), in createUserspaceApi()
|