/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 | 74 !isPowerOf2_64(MMO->getSize().getValue())) in tryCombineAll()
|
H A D | MipsAsmPrinter.cpp | 510 if (!isPowerOf2_64(MO.getImm())) in PrintAsmOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 351 if (!isPowerOf2_64(PointerABIAlign)) in parseSpecifier() 365 if (!isPowerOf2_64(PointerPrefAlign)) in parseSpecifier() 423 if (ABIAlign != 0 && !isPowerOf2_64(ABIAlign)) in parseSpecifier() 441 if (PrefAlign != 0 && !isPowerOf2_64(PrefAlign)) in parseSpecifier() 469 if (Alignment != 0 && !llvm::isPowerOf2_64(Alignment)) in parseSpecifier() 490 if (Alignment != 0 && !llvm::isPowerOf2_64(Alignment)) in parseSpecifier()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 92 assert(llvm::isPowerOf2_64(RL.getAlignment().getQuantity())); in visitRecord() 259 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 | 296 constexpr bool isPowerOf2_64(uint64_t Value) { in isPowerOf2_64() function 330 static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue), in CTLog2()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.h | 327 return NumElements > 1 && isPowerOf2_64(NumElements) && EltSize >= 8 && in isLegalNTStoreLoad() 328 EltSize <= 128 && isPowerOf2_64(EltSize); in isLegalNTStoreLoad()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | VTEmitter.cpp | 66 if ((isPowerOf2_64(OutputVTSize) && OutputVTSize >= 8 && in VTtoGetLLVMTyString()
|
/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 | JITLink.h | 166 assert(isPowerOf2_64(Alignment) && "Alignment must be power of 2"); in Block() 183 assert(isPowerOf2_64(Alignment) && "Alignment must be power of 2"); in Block() 202 assert(isPowerOf2_64(Alignment) && "Alignment must be power of 2"); in Block() 297 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 | 87 return !isInt<12>(Imm) && isPowerOf2_64(~Imm); 94 return !isInt<12>(Imm) && isPowerOf2_64(Imm); 125 return isPowerOf2_64(N->getZExtValue() & ~0x7ff); 168 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/Target/X86/ |
H A D | X86SelectionDAGInfo.cpp | 190 assert(isPowerOf2_64(Align) && "Align is a power of 2"); in getOptimalRepmovsType()
|
/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/RISCV/MCTargetDesc/ |
H A D | RISCVMatInt.cpp | 54 if (STI.hasFeature(RISCV::FeatureStdExtZbs) && isPowerOf2_64(Val) && in generateInstSeqImpl()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | RecordLayoutBuilder.cpp | 1941 if (!llvm::isPowerOf2_64(TypeSize.getQuantity())) { in LayoutField() 1967 llvm::isPowerOf2_64(TypeSize.getQuantity())) in LayoutField() 2235 assert(llvm::isPowerOf2_64(NewAlignment.getQuantity()) && in UpdateAlignment() 2241 assert(llvm::isPowerOf2_64(UnpackedNewAlignment.getQuantity()) && in UpdateAlignment() 2247 assert(llvm::isPowerOf2_64(PreferredNewAlignment.getQuantity()) && in UpdateAlignment()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 495 cast<BinaryOperator>(I)->isExact() && isPowerOf2_64(Imm)) { in selectBinaryOp() 502 isPowerOf2_64(Imm)) { in selectBinaryOp() 1988 if (Opcode == ISD::MUL && isPowerOf2_64(Imm)) { in fastEmit_ri_() 1991 } else if (Opcode == ISD::UDIV && isPowerOf2_64(Imm)) { in fastEmit_ri_()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLinkMemoryManager.cpp | 339 if (!isPowerOf2_64((uint64_t)PageSize)) { in allocate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUInstPrinter.cpp | 1647 isPowerOf2_64(XorMask + 1)) { in printSwizzle() 1658 isPowerOf2_64(GroupSize) && in printSwizzle()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 845 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | X86.cpp | 3219 bool IsIndirect = Width > 64 || !llvm::isPowerOf2_64(Width); in EmitMSVAArg() 3305 if (Width > 64 || !llvm::isPowerOf2_64(Width)) in classify() 3421 bool IsIndirect = Width > 64 || !llvm::isPowerOf2_64(Width); in EmitVAArg()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 817 if (!isPowerOf2_64(ByteAlignment)) in ParseDirectiveComm() 831 if (!isPowerOf2_64(AccessAlignment)) in ParseDirectiveComm()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVLegalizerInfo.cpp | 602 if (isPowerOf2_64(Val)) { in legalizeVScale()
|