/llvm-project/clang/utils/TableGen/ |
H A D | SveEmitter.cpp | 70 unsigned Bitwidth, ElementBitwidth, NumVectors; 77 DefaultType(false), IsScalable(true), Bitwidth(128), 121 return isPredicate() ? 16 : (Bitwidth / ElementBitwidth); in getNumElements() 124 return Bitwidth; in getNumElements() 660 Bitwidth = ElementBitwidth; in applyModifier() 682 Bitwidth = 16; in applyModifier() 687 Bitwidth = 128; in applyModifier() 692 Bitwidth = ElementBitwidth; in applyModifier() 710 Bitwidth = ElementBitwidth; in applyModifier() 715 Bitwidth in applyModifier() 73 unsigned Bitwidth, ElementBitwidth, NumVectors; global() member in __anoncee49e800111::SVEType [all...] |
H A D | NeonEmitter.cpp | 155 unsigned Bitwidth, ElementBitwidth, NumVectors; 161 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type() 166 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type() 203 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in isBFloat16() 204 unsigned getSizeInBits() const { return Bitwidth; } in getNumElements() 234 Bitwidth = ElementBitwidth; in makeScalar() 244 assert_with_loc(Bitwidth > 32, "Not enough bits to make it 32!"); in make32BitElement() 249 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes() 250 Bitwidth = 128; in doubleLanes() 254 assert_with_loc(Bitwidth ! 158 unsigned Bitwidth, ElementBitwidth, NumVectors; global() member in __anon1ddc9b620111::Type [all...] |
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | HardwareLoops.h | 23 std::optional<unsigned> Bitwidth; member 34 Bitwidth = Width; in setCounterBitwidth()
|
/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVUtils.cpp | 84 const auto Bitwidth = Imm.getBitWidth(); in addNumImm() 85 if (Bitwidth == 1) in addNumImm() 87 else if (Bitwidth <= 32) { in addNumImm() 90 if (Bitwidth == 16) in addNumImm() 93 } else if (Bitwidth <= 64) { in addNumImm() 81 const auto Bitwidth = Imm.getBitWidth(); addNumImm() local
|
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopIdiomRecognize.cpp | 2606 unsigned Bitwidth = Ty->getScalarSizeInBits(); in detectShiftUntilZeroIdiom() 2662 /*HasNSW=*/Bitwidth != 2); in detectShiftUntilZeroIdiom() 2666 /*HasNSW=*/Bitwidth > 2); in detectShiftUntilZeroIdiom() 2676 /*HasNSW=*/Bitwidth != 2); 2726 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero() 2978 unsigned Bitwidth = Ty->getScalarSizeInBits(); 3010 /*HasNSW=*/Bitwidth != 2); 3032 /*HasNSW=*/Bitwidth != 2); 3049 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); 2382 unsigned Bitwidth = Ty->getScalarSizeInBits(); recognizeShiftUntilBitTest() local 2754 unsigned Bitwidth = Ty->getScalarSizeInBits(); recognizeShiftUntilZero() local
|
/llvm-project/mlir/include/mlir/Conversion/ |
H A D | Passes.td | 172 "Bitwidth of the index type, 0 to use size of machine word">, 330 "Bitwidth of the index type, 0 to use size of machine word"> 446 "Bitwidth of the index type, 0 to use size of machine word">, 554 "Bitwidth of the index type, 0 to use size of machine word">, 582 "Bitwidth of the index type, 0 to use size of machine word">, 647 "Bitwidth of the index type, 0 to use size of machine word">, 824 "Bitwidth of the index type, 0 to use size of machine word">, 1260 "Bitwidth of the index type, 0 to use size of machine word">,
|
/llvm-project/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/llvm/lib/CodeGen/ |
H A D | HardwareLoops.cpp | 330 if (Opts.Bitwidth.has_value()) { in TryConvertLoop() 331 HWLoopInfo.CountType = IntegerType::get(Ctx, Opts.Bitwidth.value()); in TryConvertLoop()
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | Type.h | 240 bool isIntegerTy(unsigned Bitwidth) const; in isIntOrIntVectorTy()
|
/llvm-project/mlir/test/mlir-tblgen/ |
H A D | typedefs.td | 116 TypeParameter<"unsigned", "Bitwidth of integer">:$width
|
/llvm-project/llvm/test/Verifier/ |
H A D | tbaa.ll | 91 ; CHECK: Bitwidth between the offsets and struct type entries must match
|
/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 4132 unsigned Bitwidth = Ty->getIntegerBitWidth(); in applyStaticChunkedWorkshareLoop() 4133 if (Bitwidth == 32) in applyStaticChunkedWorkshareLoop() 4136 if (Bitwidth == 64) in applyStaticChunkedWorkshareLoop() 4397 unsigned Bitwidth = Ty->getIntegerBitWidth(); in applyWorkshareLoop() 4401 if (Bitwidth == 32) in applyWorkshareLoop() 4404 if (Bitwidth == 64) in applyWorkshareLoop() 4409 if (Bitwidth == 32) in applyWorkshareLoop() 4412 if (Bitwidth == 64) in applyWorkshareLoop() 4417 if (Bitwidth == 32) in applyWorkshareLoop() 4420 if (Bitwidth in applyWorkshareLoop() 3910 unsigned Bitwidth = Ty->getIntegerBitWidth(); getKmpcForStaticInitForType() local 4157 unsigned Bitwidth = Ty->getIntegerBitWidth(); getKmpcForStaticLoopForType() local 4440 unsigned Bitwidth = Ty->getIntegerBitWidth(); getKmpcForDynamicInitForType() local 4456 unsigned Bitwidth = Ty->getIntegerBitWidth(); getKmpcForDynamicNextForType() local 4471 unsigned Bitwidth = Ty->getIntegerBitWidth(); getKmpcForDynamicFiniForType() local [all...] |
/llvm-project/llvm/lib/IR/ |
H A D | Type.cpp | 58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() 59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
|
/llvm-project/llvm/docs/CommandGuide/ |
H A D | llvm-ifs.rst | 34 Target: { Arch: x86_64, Endianness: little, Bitwidth: 64 } /* Optional, format 2 */
|
/llvm-project/mlir/include/mlir/Dialect/MemRef/TransformOps/ |
H A D | MemRefTransformOps.td | 30 - `index_bitwidth`: Bitwidth of the index type, "0" indicates the size of a
|
/llvm-project/clang/tools/c-index-test/ |
H A D | c-index-test.c | 1920 /* Bitwidth testing. */ in PrintBitWidth() 1925 int Bitwidth; 1929 Bitwidth = clang_getFieldDeclBitWidth(cursor); in PrintTypeDeclaration() 1930 if (Bitwidth >= 0) { in PrintTypeDeclaration() 1932 printf(" bitwidth=%d\n", Bitwidth); in PrintTypeDeclaration() 1909 int Bitwidth; PrintBitWidth() local
|
/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SCCPSolver.cpp | 95 unsigned Bitwidth = Op->getType()->getScalarSizeInBits(); in tryToReplaceWithConstant() 96 return ConstantRange::getFull(Bitwidth); in tryToReplaceWithConstant() 115 unsigned Bitwidth = Op->getType()->getScalarSizeInBits(); refineInstruction() local
|
H A D | BasicBlockUtils.cpp | 1740 const unsigned Bitwidth = DL.getTypeSizeInBits(Ty); in SplitBlockAndInsertSimpleForLoop() 1746 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in SplitBlockAndInsertSimpleForLoop() 1738 const unsigned Bitwidth = DL.getTypeSizeInBits(Ty); SplitBlockAndInsertSimpleForLoop() local
|
/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 5015 unsigned Bitwidth = getASTContext().getIntWidth(getIntegerType()); in CreateDeserialized() 5021 Max = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in CreateDeserialized() 5024 Max = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in isInjectedClassName() 5025 Min = llvm::APInt::getZero(Bitwidth); in isInjectedClassName() 4962 unsigned Bitwidth = getASTContext().getIntWidth(getIntegerType()); getValueRange() local
|
/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 3927 unsigned Bitwidth) { in matchBitExtract() 3938 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract() 3951 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() 3962 canonicalizeShiftAmt(M1, Bitwidth); in matchBitExtract() 3983 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() 3989 canonicalizeShiftAmt(N1, Bitwidth); in matchBitExtract() 3880 __anonb5bafcbc1002(SDValue ShiftAmt, unsigned Bitwidth) matchBitExtract() argument 3904 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); matchBitExtract() local 3936 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); matchBitExtract() local
|
/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 700 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() 703 APInt::getAllOnes(Bitwidth)))) && in foldSelectICmpLshrAshr() 706 APInt::getZero(Bitwidth))))) 682 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); foldSelectICmpLshrAshr() local
|
/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 15886 unsigned Bitwidth = Ty->getScalarSizeInBits() / 2; 15887 while (Bitwidth % 8 == 0 && Bitwidth >= 8 && 15888 Bitwidth > Op->getType()->getScalarSizeInBits()) { 15889 Type *NarrowTy = IntegerType::get(SE.getContext(), Bitwidth); 15894 Bitwidth = Bitwidth / 2; 15565 unsigned Bitwidth = Ty->getScalarSizeInBits() / 2; rewrite() local
|
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelDAGToDAG.cpp | 3033 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in isBitfieldPositioningOpFromAnd() 3035 UsefulBits = APInt(Bitwidth, 0); in isBitfieldPositioningOpFromAnd() 2889 unsigned Bitwidth = Op.getScalarValueSizeInBits(); getUsefulBits() local
|
H A D | AArch64ISelLowering.cpp | 16060 unsigned Bitwidth = I->getType()->getScalarSizeInBits(); shouldSinkOperands() local [all...] |