/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MachObjectWriter.cpp | 61 Log2Size = Log2_32(1); in getAArch64FixupKindMachOInfo() 64 Log2Size = Log2_32(2); in getAArch64FixupKindMachOInfo() 67 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo() 72 Log2Size = Log2_32(8); in getAArch64FixupKindMachOInfo() 82 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo() 97 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo() 117 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMachObjectWriter.cpp | 66 Log2Size = llvm::Log2_32(1); in getARMFixupKindMachOInfo() 69 Log2Size = llvm::Log2_32(2); in getARMFixupKindMachOInfo() 72 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo() 75 Log2Size = llvm::Log2_32(8); in getARMFixupKindMachOInfo() 94 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo() 101 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/ |
H A D | RISCVTargetParser.h | 94 unsigned LmulLog2 = Log2_32(LMUL); in encodeLMUL() 105 return Log2_32(SEW) - 3; in encodeSEW()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.cpp | 344 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLSEG() 384 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLSEGFF() 426 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLXSEG() 447 unsigned IndexLog2EEW = Log2_32(IndexVT.getScalarSizeInBits()); in selectVLXSEG() 481 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVSSEG() 511 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVSXSEG() 529 unsigned IndexLog2EEW = Log2_32(IndexVT.getScalarSizeInBits()); in selectVSXSEG() 832 unsigned Log2SEW = Log2_32(Node->getConstantOperandVal(6)); in selectSF_VC_X_SE() 1639 Log2_32(Src1VT.getScalarSizeInBits()), DL, XLenVT); in Select() 1718 Log2_32(Src1VT.getScalarSizeInBits()), DL, XLenVT); in Select() [all …]
|
H A D | RISCVOptWInstrs.cpp | 244 if (Bits >= Log2_32(ST.getXLen())) in hasAllNBitUsers() 256 if (OpIdx == 2 && Bits >= Log2_32(ST.getXLen())) in hasAllNBitUsers()
|
H A D | RISCVRegisterInfo.cpp | 350 uint32_t ShiftAmount = Log2_32(LMUL); in lowerVSPILL() 427 uint32_t ShiftAmount = Log2_32(LMUL); in lowerVRELOAD()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PartialReduction.cpp | 316 unsigned Stages = Log2_32(NumSplits); in trySADReplacement() 374 unsigned Stages = Log2_32(NumElems); in matchAddReduction()
|
H A D | X86SpeculativeLoadHardening.cpp | 1867 unsigned RegIdx = Log2_32(RegBytes); in canHardenRegister() 1917 unsigned SubRegImm = SubRegImms[Log2_32(Bytes)]; in hardenValueInRegister() 1930 unsigned OrOpCode = OrOpCodes[Log2_32(Bytes)]; in hardenValueInRegister()
|
H A D | X86CallFrameOptimization.cpp | 246 Log2SlotSize = Log2_32(SlotSize); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 652 return (Log2_32(Bits1) - Log2_32(Bits0)); in getElSizeLog2Diff() 654 return (Log2_32(Bits0) - Log2_32(Bits1)); in getElSizeLog2Diff()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchOptWInstrs.cpp | 223 if (Bits >= Log2_32(ST.getGRLen())) in hasAllNBitUsers() 234 if (OpIdx == 2 && Bits >= Log2_32(ST.getGRLen())) in hasAllNBitUsers()
|
H A D | LoongArchISelDAGToDAG.cpp | 264 if (lsb == 0 && Log2_32(ShiftWidth) <= msb + 1) { in selectShiftMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCTargetDesc.cpp | 384 return Log2_32(Offset) << ELF::STO_PPC64_LOCAL_BIT; in encodePPC64LocalEntryOffset()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAGHVX.cpp | 1062 unsigned Shift = Log2_32(SegLen); in getInputSegmentList() 1122 unsigned Shift = Log2_32(SegLen); in packSegmentMask() 2239 assert(isPowerOf2_32(VecLen) && Log2_32(VecLen) <= 8); in perfect() 2240 unsigned LogLen = Log2_32(VecLen); in perfect() 2241 unsigned HwLog = Log2_32(HwLen); in perfect() 2347 Perm[I] = Log2_32(Pick[I]); in perfect()
|
H A D | HexagonPatterns.td | 194 def Log2_32: SDNodeXForm<imm, [{ 196 return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32); 206 return CurDAG->getTargetConstant(Log2_32(NV), SDLoc(N), MVT::i32); 1930 (S2_setbit_i IntRegs:$Rs, (Log2_32 $V))>; 1932 (S2_togglebit_i IntRegs:$Rs, (Log2_32 $V))>; 2017 (S4_ntstbit_i I32:$Rs, (Log2_32 imm:$u5))>; 2019 (S2_tstbit_i I32:$Rs, (Log2_32 imm:$u5))>; 2058 (I1toI32 (S4_ntstbit_i I32:$Rs, (Log2_32 imm:$u5)))>; 2060 (I1toI32 (S2_tstbit_i I32:$Rs, (Log2_32 imm:$u5)))>; 3009 return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 483 unsigned MaxShiftAmountWidth = Log2_32(NarrowWidth); in narrowFunnelShift() 886 if (AWidth == DestWidth && AWidth > Log2_32(SrcWidth)) { in visitTrunc() 900 if (Log2_32(*MaxVScale) < DestWidth) { in visitTrunc() 1267 if (Log2_32(*MaxVScale) < TypeWidth) { in visitZExt() 1558 if (Log2_32(*MaxVScale) < (SrcBitSize - 1)) { in visitSExt()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64InstructionSelector.cpp | 2905 I.setDesc(TII.get(Opcodes[Log2_32(MemSizeInBytes)])); in select() 2917 I.setDesc(TII.get(Opcodes[Log2_32(MemSizeInBytes)])); in select() 5517 Opc = FPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad() 5519 Opc = GPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad() 5528 Opc = FPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad() 5530 Opc = GPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad() 5562 Opc = FPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore() 5564 Opc = GPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore() 5574 Opc = FPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore() 5576 Opc = GPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | COFF.h | 589 assert(llvm::Log2_32(Align) <= 13 && "alignment requested is too large"); in setAlignment() 590 AlignBits = (llvm::Log2_32(Align) + 1) << 20; in setAlignment()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 580 if (InputBits - Log2_32(InputBits) != ShiftConst && in tryToRecognizeTableBasedCttz() 581 InputBits - Log2_32(InputBits) - 1 != ShiftConst) in tryToRecognizeTableBasedCttz()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsLegalizerInfo.cpp | 362 P2HalfMemSize = 1 << Log2_32(MemSize); in legalizeCustom()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MathExtras.h | 340 inline unsigned Log2_32(uint32_t Value) { in Log2_32() function
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Chunks.h | 79 p2Align = llvm::Log2_32(align); in setAlignment()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerMemIntrinsics.cpp | 165 return B.CreateLShr(Len, Log2_32(OpSizeVal)); in getRuntimeLoopCount()
|
H A D | LoopUnrollRuntime.cpp | 684 if (Log2_32(Count) > BEWidth) { in UnrollRuntimeLoopRemainder()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RDFGraph.h | 416 : NodesPerBlock(NPB), BitsPerIndex(Log2_32(NPB)), in NodesPerBlock()
|