Lines Matching refs:TypeSize
436 uint64_t *TypeSize, unsigned *Alignment);
441 Value *Addr, uint32_t TypeSize, bool IsWrite,
444 uint32_t TypeSize, bool IsWrite,
448 Value *ShadowValue, uint32_t TypeSize);
469 uint64_t TypeSize) const;
780 static size_t TypeSizeToSizeIndex(uint32_t TypeSize) {
781 size_t Res = countTrailingZeros(TypeSize / 8);
877 uint64_t *TypeSize,
887 *TypeSize = DL.getTypeStoreSizeInBits(LI->getType());
893 *TypeSize = DL.getTypeStoreSizeInBits(SI->getValueOperand()->getType());
899 *TypeSize = DL.getTypeStoreSizeInBits(RMW->getValOperand()->getType());
905 *TypeSize = DL.getTypeStoreSizeInBits(XCHG->getCompareOperand()->getType());
963 uint64_t TypeSize = 0;
964 Value *Addr = isInterestingMemoryAccess(I, &IsWrite, &TypeSize, &Alignment);
985 isSafeAccess(ObjSizeVis, Addr, TypeSize)) {
994 isSafeAccess(ObjSizeVis, Addr, TypeSize)) {
1008 if ((TypeSize == 8 || TypeSize == 16 || TypeSize == 32 || TypeSize == 64 ||
1009 TypeSize == 128) &&
1010 (Alignment >= Granularity || Alignment == 0 || Alignment >= TypeSize / 8))
1011 return instrumentAddress(I, I, Addr, TypeSize, IsWrite, nullptr, UseCalls,
1013 instrumentUnusualSizeOrAlignment(I, Addr, TypeSize, IsWrite, nullptr,
1050 uint32_t TypeSize) {
1056 if (TypeSize / 8 > 1)
1058 LastAccessedByte, ConstantInt::get(IntptrTy, TypeSize / 8 - 1));
1068 uint32_t TypeSize, bool IsWrite,
1073 size_t AccessSizeIndex = TypeSizeToSizeIndex(TypeSize);
1086 IntegerType::get(*C, std::max(8U, TypeSize >> Mapping.Scale));
1097 if (ClAlwaysSlowPath || (TypeSize < 8 * Granularity)) {
1105 Value *Cmp2 = createSlowPathCmp(IRB, AddrLong, ShadowValue, TypeSize);
1129 Instruction *I, Value *Addr, uint32_t TypeSize, bool IsWrite,
1132 Value *Size = ConstantInt::get(IntptrTy, TypeSize / 8);
1143 IRB.CreateAdd(AddrLong, ConstantInt::get(IntptrTy, TypeSize / 8 - 1)),
1452 // IsWrite, TypeSize and Exp are encoded in the function name.
1610 uint64_t TypeSize;
1619 if (Value *Addr = isInterestingMemoryAccess(&Inst, &IsWrite, &TypeSize,
1662 if (isInterestingMemoryAccess(Inst, &IsWrite, &TypeSize, &Alignment))
2152 Value *Addr, uint64_t TypeSize) const {
2162 Size - uint64_t(Offset) >= TypeSize / 8;