Home
last modified time | relevance | path

Searched refs:FromBits (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.cpp685 void DwarfExpression::emitLegacySExt(unsigned FromBits) { in emitLegacySExt() argument
689 emitUnsigned(FromBits - 1); in emitLegacySExt()
695 emitUnsigned(FromBits); in emitLegacySExt()
700 void DwarfExpression::emitLegacyZExt(unsigned FromBits) { in emitLegacyZExt() argument
703 if (FromBits / 7 < 1+1+1+1+1) { in emitLegacyZExt()
706 emitUnsigned((1ULL << FromBits) - 1); in emitLegacyZExt()
715 emitUnsigned(FromBits); in emitLegacyZExt()
H A DDwarfExpression.h359 void emitLegacySExt(unsigned FromBits);
360 void emitLegacyZExt(unsigned FromBits);
/llvm-project-15.0.7/llvm/unittests/Support/
H A DKnownBitsTest.cpp477 for (unsigned FromBits = 1; FromBits <= Bits; ++FromBits) { in TEST() local
481 unsigned ExtBits = Bits - FromBits; in TEST()
488 KnownBits KnownSExtInReg = Known.sextInReg(FromBits); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLocal.cpp2068 uint64_t FromBits = FromTy->getPrimitiveSizeInBits(); in replaceAllDbgUsesWith() local
2070 assert(FromBits != ToBits && "Unexpected no-op conversion"); in replaceAllDbgUsesWith()
2074 if (FromBits < ToBits) in replaceAllDbgUsesWith()
2088 return DIExpression::appendExt(DII.getExpression(), ToBits, FromBits, in replaceAllDbgUsesWith()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp1024 unsigned FromBits = FromType->getPrimitiveSizeInBits().getFixedSize(); in isTruncateFree() local
1026 return FromBits > ToBits; in isTruncateFree()
1032 unsigned FromBits = FromVT.getFixedSizeInBits(); in isTruncateFree() local
1034 return FromBits > ToBits; in isTruncateFree()
5562 unsigned FromBits = InVT.getScalarSizeInBits(); in lowerSIGN_EXTEND_VECTOR_INREG() local
5564 FromBits *= 2; in lowerSIGN_EXTEND_VECTOR_INREG()
5565 EVT OutVT = MVT::getVectorVT(MVT::getIntegerVT(FromBits), in lowerSIGN_EXTEND_VECTOR_INREG()
5566 SystemZ::VectorBits / FromBits); in lowerSIGN_EXTEND_VECTOR_INREG()
5569 } while (FromBits != ToBits); in lowerSIGN_EXTEND_VECTOR_INREG()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6103 unsigned FromBits = EVT.getScalarSizeInBits(); in getNode() local
6104 Val <<= Val.getBitWidth() - FromBits; in getNode()
6105 Val.ashrInPlace(Val.getBitWidth() - FromBits); in getNode()