| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsLegalizerInfo.cpp | 32 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 D | MipsPreLegalizerCombiner.cpp | 71 !isPowerOf2_64(MMO->getSize().getValue())) in tryCombineAll()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 90 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 D | Alignment.h | 78 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 D | MathExtras.h | 297 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 D | VTEmitter.cpp | 76 if ((isPowerOf2_64(OutputVTSize) && OutputVTSize >= 8 && in vTtoGetLlvmTyString()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 367 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 D | SystemZHLASMAsmStreamer.cpp | 81 if (!isPowerOf2_64(ByteAlignment)) in emitAlignmentDS()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | AlignmentFromAssumptions.cpp | 72 if (isPowerOf2_64(DiffUnitsAbs)) in getNewAlignmentDiff()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLinkMemoryManager.h | 372 assert(isPowerOf2_64(PageSize) && "PageSize must be a power of 2"); in InProcessMemoryManager()
|
| H A D | JITLink.h | 167 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 D | VFABIDemangling.cpp | |
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoZb.td | 76 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 D | MIRYamlMapping.h | 156 if (n > 0 && !isPowerOf2_64(n)) 172 if (!isPowerOf2_64(N))
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | COFFMasmParser.cpp | 299 if (!isPowerOf2_64(Alignment) || Alignment > 8192) { in parseDirectiveSegment()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86SelectionDAGInfo.cpp | 44 assert(isPowerOf2_64(Align) && "Align is a power of 2"); in getOptimalRepType()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | VFABIDemangler.cpp | 287 if (!isPowerOf2_64(Val)) in tryParseAlign()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | RecordLayoutBuilder.cpp | 1934 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 D | FastISel.cpp | 492 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 D | RISCVMatInt.cpp | 58 if (STI.hasFeature(RISCV::FeatureStdExtZbs) && isPowerOf2_64(Val) && in generateInstSeqImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLinkMemoryManager.cpp | 345 if (!isPowerOf2_64((uint64_t)*PageSize)) in Create()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | PreISelIntrinsicLowering.cpp | 279 if (!DL.typeSizeEqualsStoreSize(VTy) || !isPowerOf2_64(Size)) in getMemSetPattern16Value()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUInstPrinter.cpp | 1554 isPowerOf2_64(XorMask + 1)) { in printSwizzle() 1565 isPowerOf2_64(GroupSize) && in printSwizzle()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVLegalizerInfo.cpp | 857 if (isPowerOf2_64(Val)) { in legalizeVScale() 1205 assert(isPowerOf2_64( in legalizeInsertSubvector()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 866 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|