| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | SveEmitter.cpp | 111 return Bitwidth / ElementBitwidth; in getNumElements() 114 return Bitwidth; in getSizeInBits() 529 Bitwidth = ElementBitwidth; in applyModifier() 556 Bitwidth = 16; in applyModifier() 561 Bitwidth = ElementBitwidth; in applyModifier() 583 Bitwidth = ElementBitwidth; in applyModifier() 590 Bitwidth = ElementBitwidth; in applyModifier() 721 ElementBitwidth = Bitwidth = 8; in applyModifier() 728 ElementBitwidth = Bitwidth = 8; in applyModifier() 762 ElementBitwidth = Bitwidth = 8; in applyModifier() [all …]
|
| H A D | NeonEmitter.cpp | 159 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonc6b5f5bf0111::Type 236 Bitwidth = ElementBitwidth; in makeScalar() 252 Bitwidth = 128; in doubleLanes() 257 Bitwidth = 64; in halveLanes() 718 if (Bitwidth == 128) in getNeonEnum() 757 T.Bitwidth = T.ElementBitwidth; in fromTypedefName() 770 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName() 852 Bitwidth = Quad ? 128 : 64; in applyTypespec() 909 Bitwidth = 128; in applyModifiers() 912 Bitwidth = 64; in applyModifiers() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 299 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument 300 if (Bitwidth < 3) in CarmichaelShift() 301 return Bitwidth - 1; in CarmichaelShift() 302 return Bitwidth - 2; in CarmichaelShift() 351 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local 361 if (Bitwidth > 3) { in IncorporateWeight() 363 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight() 365 APInt Threshold = CM + Bitwidth; in IncorporateWeight() 374 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight() 375 unsigned Threshold = CM + Bitwidth; in IncorporateWeight() [all …]
|
| H A D | LoopIdiomRecognize.cpp | 2465 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilBitTest() local 2503 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest() 2507 /*HasNSW=*/Bitwidth > 2); in recognizeShiftUntilBitTest() 2517 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest() 2567 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest() 2819 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilZero() local 2851 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero() 2873 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero() 2890 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVUtils.cpp | 78 const auto Bitwidth = Imm.getBitWidth(); in addNumImm() local 79 switch (Bitwidth) { in addNumImm()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | shift-sra.ll | 130 ; (X >>s C1) >>s C2 --> X >>s (Bitwidth - 1) 154 ; (X >>s C1) >>s C2 --> X >>s (Bitwidth - 1)
|
| /llvm-project-15.0.7/mlir/include/mlir/Conversion/ |
| H A D | Passes.td | 109 "Bitwidth of the index type, 0 to use size of machine word">, 245 "Bitwidth of the index type, 0 to use size of machine word">, 302 "Bitwidth of the index type, 0 to use size of machine word">, 357 "Bitwidth of the index type, 0 to use size of machine word"> 375 "Bitwidth of the index type, 0 to use size of machine word">, 524 "Bitwidth of the index type, 0 to use size of machine word">,
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Type.h | 199 bool isIntegerTy(unsigned Bitwidth) const;
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2018 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticInitForType() local 2019 if (Bitwidth == 32) in getKmpcForStaticInitForType() 2022 if (Bitwidth == 64) in getKmpcForStaticInitForType() 2315 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicInitForType() local 2316 if (Bitwidth == 32) in getKmpcForDynamicInitForType() 2319 if (Bitwidth == 64) in getKmpcForDynamicInitForType() 2331 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicNextForType() local 2332 if (Bitwidth == 32) in getKmpcForDynamicNextForType() 2335 if (Bitwidth == 64) in getKmpcForDynamicNextForType() 2347 if (Bitwidth == 32) in getKmpcForDynamicFiniForType() [all …]
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | tbaa.ll | 87 ; CHECK: Bitwidth between the offsets and struct type entries must match
|
| /llvm-project-15.0.7/mlir/test/mlir-tblgen/ |
| H A D | typedefs.td | 114 TypeParameter<"unsigned", "Bitwidth of integer">:$width
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Type.cpp | 57 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() 58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | llvm-ifs.rst | 34 Target: { Arch: x86_64, Endianness: little, Bitwidth: 64 } /* Optional, format 2 */
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | c-index-test.c | 1840 int Bitwidth; in PrintBitWidth() local 1844 Bitwidth = clang_getFieldDeclBitWidth(cursor); in PrintBitWidth() 1845 if (Bitwidth >= 0) { in PrintBitWidth() 1847 printf(" bitwidth=%d\n", Bitwidth); in PrintBitWidth()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 1665 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForType() local 1671 assert(NumBits <= Bitwidth); in getRangeForType() 1672 End = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getRangeForType() 1675 assert(NumPositiveBits <= Bitwidth); in getRangeForType() 1676 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType() 1677 Min = llvm::APInt::getZero(Bitwidth); in getRangeForType()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 3575 unsigned Bitwidth) { in matchBitExtract() argument 3586 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract() 3599 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local 3610 canonicalizeShiftAmt(M1, Bitwidth); in matchBitExtract() 3631 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local 3637 canonicalizeShiftAmt(N1, Bitwidth); in matchBitExtract()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 562 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local 565 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr() 568 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 939 template <unsigned Bitwidth> 2270 template <unsigned Bitwidth> 2277 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands() 2283 FPLiteral.convert(*getFltSemantics(Bitwidth / 8), in addKImmFPOperands()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelDAGToDAG.cpp | 2452 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local 2454 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()
|