Home
last modified time | relevance | path

Searched refs:IntSize (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/clang/lib/AST/
DMicrosoftCXXABI.cpp241 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo() local
247 MPI.Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerInfo()
261 MPI.HasPadding = MPI.Width != (Ptrs * PtrSize + Ints * IntSize); in getMemberPointerInfo()
DASTContext.cpp6292 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local
6309 if (BitWidth < IntSize) in isPromotableBitField()
6312 if (BitWidth == IntSize) in isPromotableBitField()
6363 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local
6364 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()
6365 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp407 unsigned IntSize = Ty->getIntegerBitWidth(); in instCombineIntrinsic() local
412 if ((Width & (IntSize - 1)) == 0) { in instCombineIntrinsic()
417 if (Width >= IntSize) { in instCombineIntrinsic()
419 II, 2, ConstantInt::get(CWidth->getType(), Width & (IntSize - 1))); in instCombineIntrinsic()
427 if (Offset >= IntSize) { in instCombineIntrinsic()
430 ConstantInt::get(COffset->getType(), Offset & (IntSize - 1))); in instCombineIntrinsic()
446 if (Offset + Width < IntSize) { in instCombineIntrinsic()
447 Value *Shl = IC.Builder.CreateShl(Src, IntSize - Offset - Width); in instCombineIntrinsic()
448 Value *RightShift = Signed ? IC.Builder.CreateAShr(Shl, IntSize - Width) in instCombineIntrinsic()
449 : IC.Builder.CreateLShr(Shl, IntSize - Width); in instCombineIntrinsic()
/external/grpc-grpc/third_party/nanopb/generator/proto/
Dnanopb.proto22 enum IntSize { enum
42 optional IntSize int_size = 7 [default = IS_DEFAULT];
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp247 unsigned IntSize = Target.getIntWidth(); in getMemberPointerWidthAndAlign() local
251 uint64_t Width = Ptrs * PtrSize + Ints * IntSize; in getMemberPointerWidthAndAlign()
DASTContext.cpp4739 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() local
4754 if (BitWidth < IntSize) in isPromotableBitField()
4757 if (BitWidth == IntSize) in isPromotableBitField()
4807 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() local
4808 assert(Promotable->isUnsignedIntegerType() && PromotableSize <= IntSize); in getPromotedIntegerType()
4809 return (PromotableSize != IntSize) ? IntTy : UnsignedIntTy; in getPromotedIntegerType()
/external/nanopb-c/generator/proto/
Dnanopb.proto22 enum IntSize { enum
47 optional IntSize int_size = 7 [default = IS_DEFAULT];
/external/nanopb-c/generator/nanopb/
Doptions.proto30 enum IntSize { enum
55 optional IntSize int_size = 7 [default = IS_DEFAULT];
/external/llvm-project/clang-tools-extra/clang-doc/
DBitcodeWriter.h40 static constexpr unsigned IntSize = 16U; member
DBitcodeWriter.cpp50 BitCodeConstants::IntSize)}); in IntAbbrev()
364 assert(Val < (1U << BitCodeConstants::IntSize)); in emitRecord()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DXmmArith.cpp1504 #define TestImplSRegXmm(GPR, Src, Inst, IntSize, Size) \ in TEST_F() argument
1507 "(" #GPR ", " #Src ", cvt" #Inst ", " #IntSize ", f" #Size ")"; \ in TEST_F()
1512 __ cvt##Inst(IceType_i##IntSize, Encoded_GPR_##GPR(), IceType_f##Size, \ in TEST_F()
1519 ASSERT_EQ(static_cast<uint##IntSize##_t>(Inst##Size##Expected), \ in TEST_F()
1564 #define TestImplSRegAddr(GPR, Inst, IntSize, Size) \ in TEST_F() argument
1567 "(" #GPR ", Addr, cvt" #Inst ", f" #Size ", " #IntSize ")"; \ in TEST_F()
1571 __ cvt##Inst(IceType_i##IntSize, Encoded_GPR_##GPR(), IceType_f##Size, \ in TEST_F()
1578 ASSERT_EQ(static_cast<uint##IntSize##_t>(Inst##Size##Expected), \ in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp3652 unsigned IntSize = Ty->getIntegerBitWidth(); in visitCallInst() local
3657 if ((Width & (IntSize - 1)) == 0) in visitCallInst()
3660 if (Width >= IntSize) { in visitCallInst()
3663 Width & (IntSize - 1))); in visitCallInst()
3672 if (Offset >= IntSize) { in visitCallInst()
3674 Offset & (IntSize - 1))); in visitCallInst()
3691 if (Offset + Width < IntSize) { in visitCallInst()
3692 Value *Shl = Builder.CreateShl(Src, IntSize - Offset - Width); in visitCallInst()
3693 Value *RightShift = Signed ? Builder.CreateAShr(Shl, IntSize - Width) in visitCallInst()
3694 : Builder.CreateLShr(Shl, IntSize - Width); in visitCallInst()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.cpp2516 for (int IntSize = 8; IntSize >= 1; IntSize /= 2) { in shuffleAndStore() local
2517 if (Size < CharUnits::fromQuantity(IntSize)) in shuffleAndStore()
2520 CGF.getContext().toBits(CharUnits::fromQuantity(IntSize)), in shuffleAndStore()
2526 if (Size.getQuantity() / IntSize > 1) { in shuffleAndStore()
2543 Bld.CreateCondBr(Bld.CreateICmpSGT(PtrDiff, Bld.getInt64(IntSize - 1)), in shuffleAndStore()
2574 Size = Size % IntSize; in shuffleAndStore()
DMicrosoftCXXABI.cpp1046 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local
1048 IntSize * in GetVirtualBaseClassOffset()
2238 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local
2242 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2986 unsigned IntSize = in SynthMessageExpr() local
2989 llvm::APInt(IntSize, 8), in SynthMessageExpr()
4125 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local
4130 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
4523 unsigned IntSize = in SynthBlockInitExpr() local
4525 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
DRewriteModernObjC.cpp2599 unsigned IntSize = in RewriteObjCBoolLiteralExpr() local
2603 llvm::APInt(IntSize, Exp->getValue()), in RewriteObjCBoolLiteralExpr()
4981 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local
4986 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
5396 unsigned IntSize = in SynthBlockInitExpr() local
5398 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2999 unsigned IntSize = in SynthMessageExpr() local
3002 llvm::APInt(IntSize, 8), in SynthMessageExpr()
4136 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local
4141 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
4532 unsigned IntSize = in SynthBlockInitExpr() local
4534 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
DRewriteModernObjC.cpp2605 unsigned IntSize = in RewriteObjCBoolLiteralExpr() local
2609 llvm::APInt(IntSize, Exp->getValue()), in RewriteObjCBoolLiteralExpr()
4981 unsigned IntSize = in SynthesizeByrefCopyDestroyHelper() local
4986 unsigned offset = (VoidPtrSize*4 + IntSize + IntSize)/Context->getCharWidth(); in SynthesizeByrefCopyDestroyHelper()
5394 unsigned IntSize = in SynthBlockInitExpr() local
5396 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1051 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset() local
1053 IntSize * in GetVirtualBaseClassOffset()
2107 int32_t IntSize = CGF.getIntSize().getQuantity(); in performReturnAdjustment() local
2111 IntSize * RA.Virtual.Microsoft.VBIndex, &VBPtr); in performReturnAdjustment()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp3463 int IntSize = Inst->getOperand(0)->getType()->getScalarSizeInBits(); in isKnownNeverInfinity() local
3465 --IntSize; in isKnownNeverInfinity()
3470 return ilogb(APFloat::getLargest(FPTy->getFltSemantics())) >= IntSize; in isKnownNeverInfinity()
/external/clang/lib/Sema/
DSemaExpr.cpp3178 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local
3179 return IntegerLiteral::Create(Context, llvm::APInt(IntSize, Val), in ActOnIntegerConstant()
3442 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local
3445 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant()
3447 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant()
3451 Width = IntSize; in ActOnNumericConstant()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp3588 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() local
3589 return IntegerLiteral::Create(Context, llvm::APInt(IntSize, Val), in ActOnIntegerConstant()
3905 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() local
3908 if (ResultVal.isIntN(IntSize)) { in ActOnNumericConstant()
3910 if (!Literal.isUnsigned && ResultVal[IntSize-1] == 0) in ActOnNumericConstant()
3914 Width = IntSize; in ActOnNumericConstant()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp19653 unsigned IntSize = IntVT.getSizeInBits(); in lowerFPToIntToFP() local
19656 MVT VecIntVT = MVT::getVectorVT(IntVT, 128 / IntSize); in lowerFPToIntToFP()
19661 SrcSize != IntSize ? X86ISD::CVTTP2SI : (unsigned)ISD::FP_TO_SINT; in lowerFPToIntToFP()
19663 IntSize != VTSize ? X86ISD::CVTSI2P : (unsigned)ISD::SINT_TO_FP; in lowerFPToIntToFP()