Home
last modified time | relevance | path

Searched refs:getSignedness (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dtypedefs.td131 bool isSignless() const { return getSignedness() == Signless; }
133 bool isSigned() const { return getSignedness() == Signed; }
135 bool isUnsigned() const { return getSignedness() == Unsigned; }
148 // DECL-NEXT: bool isSignless() const { return getSignedness() == Signless; }
150 // DECL-NEXT: bool isSigned() const { return getSignedness() == Signed; }
152 // DECL-NEXT: bool isUnsigned() const { return getSignedness() == Unsigned; }
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Utils/
H A DUtils.cpp76 assert(targetIntegerType.getSignedness() == valueIntegerType.getSignedness()); in getValueOrCreateCastToIndexLike()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestTypeDefs.td118 bool isSignless() const { return getSignedness() == Signless; }
120 bool isSigned() const { return getSignedness() == Signed; }
122 bool isUnsigned() const { return getSignedness() == Unsigned; }
H A DTestTypes.cpp205 printSignedness(p, getSignedness()); in print()
H A DTestDialect.cpp156 if (intType.getSignedness() == in getAlias()
/llvm-project-15.0.7/mlir/lib/Target/Cpp/
H A DTranslateToCpp.cpp776 printInt(iAttr.getValue(), shouldMapToUnsigned(iType.getSignedness())); in emitAttribute()
791 printInt(val, shouldMapToUnsigned(iType.getSignedness())); in emitAttribute()
968 if (shouldMapToUnsigned(iType.getSignedness())) in emitType()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinTypes.cpp79 IntegerType::SignednessSemantics IntegerType::getSignedness() const { in getSignedness() function in IntegerType
86 return IntegerType::get(getContext(), scale * getWidth(), getSignedness()); in scaleElementBitwidth()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinTypes.td252 bool isSignless() const { return getSignedness() == Signless; }
254 bool isSigned() const { return getSignedness() == Signed; }
256 bool isUnsigned() const { return getSignedness() == Unsigned; }
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DSPIRVConversion.cpp294 intType.getSignedness());
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DDebugify.cpp679 auto Signedness = DVI->getVariable()->getSignedness(); in diagnoseMisSizedDbgValue()
H A DLocal.cpp2083 auto Signedness = Var->getSignedness(); in replaceAllDbgUsesWith()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h824 Optional<Signedness> getSignedness() const;
2514 Optional<DIBasicType::Signedness> getSignedness() const { in getSignedness() function
2516 return BT->getSignedness(); in getSignedness()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DModuleTranslation.cpp96 if (integerType.getSignedness() == IntegerType::Signless) in translateDataLayout()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugInfoMetadata.cpp573 Optional<DIBasicType::Signedness> DIBasicType::getSignedness() const { in getSignedness() function in DIBasicType