Lines Matching refs:ConstantInt
602 return ConstantExpr::getIntToPtr(ConstantInt::get(IntptrTy, Mapping.Offset),
629 {shadowBase(), Ptr, ConstantInt::get(Int32Ty, AccessInfo)});
645 ConstantInt::get(PtrTag->getType(), matchAllTag));
655 IRB.CreateICmpUGT(MemTag, ConstantInt::get(Int8Ty, 15));
663 PtrLowBits, ConstantInt::get(Int8Ty, (1 << AccessSizeIndex) - 1));
747 ConstantInt::get(IntptrTy, O.TypeSize / 8)});
757 const ConstantInt *CI = dyn_cast<ConstantInt>(AI.getArraySize());
776 ConstantInt::get(IntptrTy, AlignedSize)});
790 ConstantInt::get(Int8Ty, Size % Mapping.getObjectAlignment()),
851 ConstantInt::get(IntptrTy, RetagMask(AllocaNo)));
856 return ConstantInt::get(IntptrTy, 0);
859 return IRB.CreateXor(StackTag, ConstantInt::get(IntptrTy, 0xFFU));
870 ConstantInt::get(IntptrTy, (1ULL << kPointerTagShift) - 1));
886 ConstantInt::get(PtrLong->getType(), 0xFFULL << kPointerTagShift));
890 ConstantInt::get(PtrLong->getType(), ~(0xFFULL << kPointerTagShift)));
974 ConstantInt::get(IntptrTy, (uint64_t)-1));
976 IRB.CreateAdd(ThreadLong, ConstantInt::get(IntptrTy, 8)), WrapMask);
986 ConstantInt::get(IntptrTy, (1ULL << kShadowBaseAlignment) - 1)),
987 ConstantInt::get(IntptrTy, 1), "hwasan.shadow");
1166 cast<ConstantInt>(AI->getArraySize())->getZExtValue();
1207 if (isa<ConstantInt>(AI->getArraySize()))
1277 ConstantInt::get(Int64Ty, DescriptorPos)),
1280 auto *SizeAndTag = ConstantInt::get(Int32Ty, Size | (uint32_t(Tag) << 24));
1292 ConstantInt::get(Int64Ty, uint64_t(Tag) << kPointerTagShift)),
1365 {ConstantInt::get(Int32Ty, 8), // n_namesz
1366 ConstantInt::get(Int32Ty, 8), // n_descsz
1367 ConstantInt::get(Int32Ty, ELF::NT_LLVM_HWASAN_GLOBALS), // n_type