Searched refs:TypeWidth (Results 1 - 5 of 5) sorted by relevance

/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp182 /// named MacroName with the max value for a type with width 'TypeWidth' a
184 static void DefineTypeSize(const Twine &MacroName, unsigned TypeWidth, argument
187 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
188 : llvm::APInt::getMaxValue(TypeWidth);
229 int TypeWidth = TI.getTypeWidth(Ty); local
234 if (TypeWidth == 64)
239 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
240 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder);
243 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix);
249 int TypeWidth local
261 DefineLeastWidthIntType(unsigned TypeWidth, bool IsSigned, const TargetInfo &TI, MacroBuilder &Builder) argument
274 DefineFastIntType(unsigned TypeWidth, bool IsSigned, const TargetInfo &TI, MacroBuilder &Builder) argument
292 getLockFreeValue(unsigned TypeWidth, unsigned TypeAlign, unsigned InlineWidth) argument
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp128 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); local
133 unsigned LowBits = TypeWidth - CI->getZExtValue();
135 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits,
153 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); local
157 if (CI->getValue().ult(TypeWidth) && CI->getZExtValue() > NumBits) {
160 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits,
220 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); local
229 if (NewShAmt >= TypeWidth)
241 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth
262 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); local
[all...]
/external/vixl/test/
H A Dtest-simulator-a64.cc3871 DEFINE_TEST_NEON_2OPIMM(sshr, Basic, TypeWidth)
3872 DEFINE_TEST_NEON_2OPIMM(ssra, Basic, TypeWidth)
3873 DEFINE_TEST_NEON_2OPIMM(srshr, Basic, TypeWidth)
3874 DEFINE_TEST_NEON_2OPIMM(srsra, Basic, TypeWidth)
3877 DEFINE_TEST_NEON_2OPIMM_NARROW(shrn, Basic, TypeWidth)
3878 DEFINE_TEST_NEON_2OPIMM_NARROW(rshrn, Basic, TypeWidth)
3879 DEFINE_TEST_NEON_2OPIMM_NARROW(sqshrn, Basic, TypeWidth)
3880 DEFINE_TEST_NEON_2OPIMM_NARROW(sqrshrn, Basic, TypeWidth)
3885 DEFINE_TEST_NEON_2OPIMM(ushr, Basic, TypeWidth)
3886 DEFINE_TEST_NEON_2OPIMM(usra, Basic, TypeWidth)
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp286 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType); local
288 if (ValWidth < TypeWidth) {
291 } else if (ValWidth == TypeWidth) {
/external/clang/lib/Sema/
H A DSemaDecl.cpp12839 uint64_t TypeWidth = Context.getIntWidth(FieldTy); local
12840 bool BitfieldIsOverwide = Value.ugt(TypeWidth);
12851 CStdConstraintViolation ? TypeWidth : TypeStorageSize;
12869 << (unsigned)TypeWidth;
12872 << (unsigned)Value.getZExtValue() << (unsigned)TypeWidth;

Completed in 169 milliseconds