Home
last modified time | relevance | path

Searched refs:isPowerOf2_64 (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp32 assert(isPowerOf2_64(MemSize) && "Expected power of 2 memory size"); in isUnalignedMemmoryAccess()
33 assert(isPowerOf2_64(AlignInBits) && "Expected power of 2 align"); in isUnalignedMemmoryAccess()
45 if (!isPowerOf2_64(QueryMemSize)) in CheckTy0Ty1MemSizeAlign()
138 if (!isPowerOf2_64(Query.MMODescrs[0].MemoryTy.getSizeInBits())) in MipsLegalizerInfo()
359 if (isPowerOf2_64(MemSize)) { in legalizeCustom()
H A DMipsPreLegalizerCombiner.cpp71 !isPowerOf2_64(MMO->getSize().getValue())) in tryCombineAll()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp90 assert(llvm::isPowerOf2_64(RL.getAlignment().getQuantity())); in visitRecord()
257 assert(llvm::isPowerOf2_64(RetVal.Align.getQuantity())); in calculateOptimalPad()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h78 assert(llvm::isPowerOf2_64(Value) && "Alignment is not a power of 2"); in Align()
134 assert((Value == 0 || llvm::isPowerOf2_64(Value)) && in MaybeAlign()
H A DMathExtras.h297 constexpr bool isPowerOf2_64(uint64_t Value) { in isPowerOf2_64() function
331 static_assert(llvm::isPowerOf2_64(kValue), "Value is not a valid power of 2"); in CTLog2()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DVTEmitter.cpp76 if ((isPowerOf2_64(OutputVTSize) && OutputVTSize >= 8 && in vTtoGetLlvmTyString()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h367 return NumElements > 1 && isPowerOf2_64(NumElements) && EltSize >= 8 && in isLegalNTStoreLoad()
368 EltSize <= 128 && isPowerOf2_64(EltSize); in isLegalNTStoreLoad()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZHLASMAsmStreamer.cpp81 if (!isPowerOf2_64(ByteAlignment)) in emitAlignmentDS()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAlignmentFromAssumptions.cpp72 if (isPowerOf2_64(DiffUnitsAbs)) in getNewAlignmentDiff()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h372 assert(isPowerOf2_64(PageSize) && "PageSize must be a power of 2"); in InProcessMemoryManager()
H A DJITLink.h167 assert(isPowerOf2_64(Alignment) && "Alignment must be power of 2"); in Block()
184 assert(isPowerOf2_64(Alignment) && "Alignment must be power of 2"); in Block()
203 assert(isPowerOf2_64(Alignment) && "Alignment must be power of 2"); in Block()
304 assert(isPowerOf2_64(Alignment) && "Alignment must be a power of two"); in setAlignment()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DVFABIDemangling.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZb.td76 return !isInt<12>(Imm) && isPowerOf2_64(~Imm);
83 return !isInt<12>(Imm) && isPowerOf2_64(Imm);
114 return isPowerOf2_64(N->getZExtValue() & ~0x7ff);
157 return Subtarget->is64Bit() ? isPowerOf2_64(~I) : isPowerOf2_32(~I);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h156 if (n > 0 && !isPowerOf2_64(n))
172 if (!isPowerOf2_64(N))
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp299 if (!isPowerOf2_64(Alignment) || Alignment > 8192) { in parseDirectiveSegment()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp44 assert(isPowerOf2_64(Align) && "Align is a power of 2"); in getOptimalRepType()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVFABIDemangler.cpp287 if (!isPowerOf2_64(Val)) in tryParseAlign()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp1934 if (!llvm::isPowerOf2_64(TypeSize.getQuantity())) { in LayoutField()
1960 llvm::isPowerOf2_64(TypeSize.getQuantity())) in LayoutField()
2228 assert(llvm::isPowerOf2_64(NewAlignment.getQuantity()) && in UpdateAlignment()
2234 assert(llvm::isPowerOf2_64(UnpackedNewAlignment.getQuantity()) && in UpdateAlignment()
2240 assert(llvm::isPowerOf2_64(PreferredNewAlignment.getQuantity()) && in UpdateAlignment()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp492 cast<BinaryOperator>(I)->isExact() && isPowerOf2_64(Imm)) { in selectBinaryOp()
499 isPowerOf2_64(Imm)) { in selectBinaryOp()
1933 if (Opcode == ISD::MUL && isPowerOf2_64(Imm)) { in fastEmit_ri_()
1936 } else if (Opcode == ISD::UDIV && isPowerOf2_64(Imm)) { in fastEmit_ri_()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMatInt.cpp58 if (STI.hasFeature(RISCV::FeatureStdExtZbs) && isPowerOf2_64(Val) && in generateInstSeqImpl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp345 if (!isPowerOf2_64((uint64_t)*PageSize)) in Create()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp279 if (!DL.typeSizeEqualsStoreSize(VTy) || !isPowerOf2_64(Size)) in getMemSetPattern16Value()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.cpp1554 isPowerOf2_64(XorMask + 1)) { in printSwizzle()
1565 isPowerOf2_64(GroupSize) && in printSwizzle()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp857 if (isPowerOf2_64(Val)) { in legalizeVScale()
1205 assert(isPowerOf2_64( in legalizeInsertSubvector()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h866 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()

1234