Searched refs:Bitwidth (Results 1 – 9 of 9) sorted by relevance
| /freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/ |
| HD | NeonEmitter.cpp | 156 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonb075d1860111::Type 162 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type() 167 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type() 201 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements() 202 unsigned getSizeInBits() const { return Bitwidth; } in getSizeInBits() 232 Bitwidth = ElementBitwidth; in makeScalar() 242 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes() 243 Bitwidth = 128; in doubleLanes() 247 assert_with_loc(Bitwidth != 64, "Can't get smaller than 64!"); in halveLanes() 248 Bitwidth = 64; in halveLanes() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | Reassociate.cpp | 291 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument 292 if (Bitwidth < 3) in CarmichaelShift() 293 return Bitwidth - 1; in CarmichaelShift() 294 return Bitwidth - 2; in CarmichaelShift() 343 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local 353 if (Bitwidth > 3) { in IncorporateWeight() 355 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight() 357 APInt Threshold = CM + Bitwidth; in IncorporateWeight() 366 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight() 367 unsigned Threshold = CM + Bitwidth; in IncorporateWeight() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | Type.cpp | 57 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() 58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | Type.h | 200 bool isIntegerTy(unsigned Bitwidth) const;
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| HD | X86ISelDAGToDAG.cpp | 3336 unsigned Bitwidth) { in matchBitExtract() argument 3348 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract() 3359 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local 3370 return matchShiftAmt(M1, Bitwidth); in matchBitExtract() 3383 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local 3390 if (!matchShiftAmt(N1, Bitwidth)) in matchBitExtract()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGExpr.cpp | 1562 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForType() local 1568 assert(NumBits <= Bitwidth); in getRangeForType() 1569 End = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getRangeForType() 1572 assert(NumPositiveBits <= Bitwidth); in getRangeForType() 1573 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType() 1574 Min = llvm::APInt(Bitwidth, 0); in getRangeForType()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineSelect.cpp | 549 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local 552 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr() 555 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
| HD | AMDGPUAsmParser.cpp | 742 template <unsigned Bitwidth> 1847 template <unsigned Bitwidth> 1853 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands() 1859 FPLiteral.convert(*getFltSemantics(Bitwidth / 8), in addKImmFPOperands()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| HD | AArch64ISelDAGToDAG.cpp | 2146 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local 2148 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()
|