Home
last modified time | relevance | path

Searched refs:Log2_32 (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp62 Log2Size = Log2_32(1); in getAArch64FixupKindMachOInfo()
65 Log2Size = Log2_32(2); in getAArch64FixupKindMachOInfo()
68 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
73 Log2Size = Log2_32(8); in getAArch64FixupKindMachOInfo()
83 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
98 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
118 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp72 Log2Size = llvm::Log2_32(1); in getARMFixupKindMachOInfo()
75 Log2Size = llvm::Log2_32(2); in getARMFixupKindMachOInfo()
78 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
81 Log2Size = llvm::Log2_32(8); in getARMFixupKindMachOInfo()
100 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
107 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp345 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLSEG()
385 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLSEGFF()
427 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVLXSEG()
482 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVSSEG()
512 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in selectVSXSEG()
1716 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
1760 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
1801 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
1914 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
1958 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
[all …]
H A DRISCVOptWInstrs.cpp233 if (Bits >= Log2_32(ST.getXLen())) in hasAllNBitUsers()
245 if (OpIdx == 2 && Bits >= Log2_32(ST.getXLen())) in hasAllNBitUsers()
H A DRISCVRegisterInfo.cpp323 uint32_t ShiftAmount = Log2_32(LMUL); in lowerVSPILL()
400 uint32_t ShiftAmount = Log2_32(LMUL); in lowerVRELOAD()
H A DRISCVTargetTransformInfo.cpp858 int PowDiff = (int)Log2_32(Dst->getScalarSizeInBits()) - in getCastInstrCost()
859 (int)Log2_32(Src->getScalarSizeInBits()); in getCastInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.h511 unsigned LmulLog2 = Log2_32(LMUL); in encodeLMUL()
522 return Log2_32(SEW) - 3; in encodeSEW()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp316 unsigned Stages = Log2_32(NumSplits); in trySADReplacement()
374 unsigned Stages = Log2_32(NumElems); in matchAddReduction()
H A DX86CallFrameOptimization.cpp246 Log2SlotSize = Log2_32(SlotSize); in runOnMachineFunction()
H A DX86SpeculativeLoadHardening.cpp1864 unsigned RegIdx = Log2_32(RegBytes); in canHardenRegister()
1914 unsigned SubRegImm = SubRegImms[Log2_32(Bytes)]; in hardenValueInRegister()
1927 unsigned OrOpCode = OrOpCodes[Log2_32(Bytes)]; in hardenValueInRegister()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp650 return (Log2_32(Bits1) - Log2_32(Bits0)); in getElSizeLog2Diff()
652 return (Log2_32(Bits0) - Log2_32(Bits1)); in getElSizeLog2Diff()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp577 if (InputBits - Log2_32(InputBits) != ShiftConst && in tryToRecognizeTableBasedCttz()
578 InputBits - Log2_32(InputBits) - 1 != ShiftConst) in tryToRecognizeTableBasedCttz()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp376 return Log2_32(Offset) << ELF::STO_PPC64_LOCAL_BIT; in encodePPC64LocalEntryOffset()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp259 if (lsb == 0 && Log2_32(ShiftWidth) <= msb + 1) { in selectShiftMask()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp3845 unsigned EltIdx = Log2_32(SrcEltSize / 8); in selectVectorICmp()
3846 unsigned NumEltsIdx = Log2_32(NumElts / 2); in selectVectorICmp()
5721 Opc = FPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5723 Opc = GPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5732 Opc = FPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5734 Opc = GPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5766 Opc = FPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
6963 int64_t LegalShiftVal = Log2_32(SizeInBytes); in selectExtendedSHL()
6999 ImmVal = Log2_32(ImmVal); in selectExtendedSHL()
7153 unsigned Scale = Log2_32(SizeInBytes); in selectAddrModeXRO()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1062 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 DHexagonPatterns.td194 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-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp475 unsigned MaxShiftAmountWidth = Log2_32(NarrowWidth); in narrowFunnelShift()
865 if (AWidth == DestWidth && AWidth > Log2_32(SrcWidth)) { in visitTrunc()
879 if (Log2_32(*MaxVScale) < DestWidth) { in visitTrunc()
1229 if (Log2_32(*MaxVScale) < TypeWidth) { in visitZExt()
1520 if (Log2_32(*MaxVScale) < (SrcBitSize - 1)) { in visitSExt()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h313 inline unsigned Log2_32(uint32_t Value) { in Log2_32() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h589 assert(llvm::Log2_32(Align) <= 13 && "alignment requested is too large"); in setAlignment()
590 AlignBits = (llvm::Log2_32(Align) + 1) << 20; in setAlignment()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp362 P2HalfMemSize = 1 << Log2_32(MemSize); in legalizeCustom()
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DChunks.h73 p2Align = llvm::Log2_32(align); in setAlignment()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h416 : NodesPerBlock(NPB), BitsPerIndex(Log2_32(NPB)), in NodesPerBlock()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp684 if (Log2_32(Count) > BEWidth) { in UnrollRuntimeLoopRemainder()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp732 unsigned logCandidateNumElts = llvm::Log2_32(numElts); in legalizeVectorType()

1234