Searched refs:IntType (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DPointerIntPair.h42 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
53 PointerIntPair(PointerTy PtrVal, IntType IntVal) {
61 IntType getInt() const { return (IntType)Info::getInt(Value); }
67 void setInt(IntType IntVal) LLVM_LVALUE_FUNCTION {
75 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) LLVM_LVALUE_FUNCTION {
132 template <typename PointerTy, unsigned IntBits, typename IntType,
135 struct is_trivially_copyable<PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>> : std::true_type {
137 static_assert(std::is_trivially_copyable<PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>>::value,
194 template <typename PointerTy, unsigned IntBits, typename IntType>
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTargetInfo.h110 enum IntType { enum in struct:clang::TransferrableTargetInfo
132 IntType SizeType, IntMaxType, PtrDiffType, IntPtrType, WCharType, WIntType,
317 IntType getSizeType() const { return SizeType; }
318 IntType getSignedSizeType() const {
332 IntType getIntMaxType() const { return IntMaxType; }
333 IntType getUIntMaxType() const {
336 IntType getPtrDiffType(unsigned AddrSpace) const {
339 IntType getUnsignedPtrDiffType(unsigned AddrSpace) const {
342 IntType getIntPtrType() const { return IntPtrType; }
343 IntType getUIntPtrTyp
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/Targets/
H A DAVR.h156 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final {
162 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final {
H A DWebAssembly.h114 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final {
120 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final {
H A DOSTargets.h158 TargetInfo::IntType getLeastIntTypeByWidth(unsigned BitWidth,
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/
H A DTargetInfo.cpp172 const char *TargetInfo::getTypeName(IntType T) {
190 const char *TargetInfo::getTypeConstantSuffix(IntType T) const {
215 const char *TargetInfo::getTypeFormatModifier(IntType T) {
233 unsigned TargetInfo::getTypeWidth(IntType T) const {
249 TargetInfo::IntType TargetInfo::getIntTypeByWidth(
264 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth,
309 unsigned TargetInfo::getTypeAlign(IntType T) const {
327 bool TargetInfo::isTypeSigned(IntType T) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DASTDiagnostic.cpp1177 QualType &IntType, bool &IsNullPtr,
1187 IntType = Iter->getIntegralType();
1217 IntType = TA.getIntegralType();
1782 QualType IntType, bool PrintType) {
1795 IntType.print(OS, Context.getPrintingPolicy());
1800 if (IntType->isBooleanType()) {
1900 const llvm::APSInt &Val, QualType IntType,
1913 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, false /*PrintType*/);
1920 void PrintIntegerAndValueDecl(const llvm::APSInt &Val, QualType IntType, argument
1926 PrintAPSInt(Val, IntExpr, true /*Valid*/, IntType, fals
1173 InitializeNonTypeDiffVariables(ASTContext &Context, const TSTiterator &Iter, NonTypeTemplateParmDecl *Default, llvm::APSInt &Value, bool &HasInt, QualType &IntType, bool &IsNullPtr, Expr *&E, ValueDecl *&VD, bool &NeedAddressOf) argument
1781 PrintAPSInt(const llvm::APSInt &Val, Expr *E, bool Valid, QualType IntType, bool PrintType) argument
1898 PrintValueDeclAndInteger(ValueDecl *VD, bool NeedAddressOf, bool IsNullPtr, Expr *VDExpr, bool DefaultDecl, const llvm::APSInt &Val, QualType IntType, Expr *IntExpr, bool DefaultInt) argument
[all...]
H A DItaniumCXXABI.cpp196 TargetInfo::IntType PtrDiff = Target.getPtrDiffType(0);
H A DASTContext.cpp8552 /// is actually a value of type @c TargetInfo::IntType.
8568 llvm_unreachable("Unhandled TargetInfo::IntType value");
11102 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp176 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty,
182 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty,
192 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty,
197 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty,
208 static void DefineExactWidthIntType(TargetInfo::IntType Ty,
233 static void DefineExactWidthIntTypeSize(TargetInfo::IntType Ty,
251 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
265 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned);
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp481 APSIntType IntType = BasicVals.getAPSIntType(resultTy); local
482 IntType.apply(LHSValue);
483 IntType.apply(RHSValue);
603 APSIntType IntType = BasicVals.getAPSIntType(resultTy); local
604 const llvm::APSInt &first = IntType.convert(symIntExpr->getRHS());
605 const llvm::APSInt &second = IntType.convert(*RHSValue);
H A DRangeConstraintManager.cpp1062 APSIntType IntType = ValueFactory.getAPSIntType(T);
1063 return RangeFactory.deletePoint(Domain, IntType.getZeroValue());
2010 APSIntType IntType = BV.getAPSIntType(Sym->getType());
2011 llvm::APSInt Zero = IntType.getZeroValue();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp973 IntegerType *IntType = IntegerType::get(CI->getContext(), Len * 8);
974 unsigned PrefAlignment = DL.getPrefTypeAlignment(IntType);
979 LHSC = ConstantExpr::getBitCast(LHSC, IntType->getPointerTo());
980 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL);
984 RHSC = ConstantExpr::getBitCast(RHSC, IntType->getPointerTo());
985 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL);
994 IntType->getPointerTo(LHS->getType()->getPointerAddressSpace());
995 LHSV = B.CreateLoad(IntType, B.CreateBitCast(LHS, LHSPtrTy), "lhsv");
999 IntType->getPointerTo(RHS->getType()->getPointerAddressSpace());
1000 RHSV = B.CreateLoad(IntType,
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp555 auto *IntType = dyn_cast<IntegerType>(LoadTy); local
558 if (!IntType) {
601 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8;
621 return UndefValue::get(IntType);
625 return UndefValue::get(IntType);
641 APInt ResultVal = APInt(IntType->getBitWidth(), 0);
656 return ConstantInt::get(IntType->getContext(), ResultVal);
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp2346 QualType IntType = CGF.getContext().getIntTypeForBitwidth(
2349 llvm::Type *IntTy = CGF.ConvertTypeForMem(IntType);
2375 CGF.EmitLoadOfScalar(Ptr, /*Volatile=*/false, IntType, Loc,
2378 IntType, Offset, Loc);
2379 CGF.EmitStoreOfScalar(Res, ElemPtr, /*Volatile=*/false, IntType,
2391 CGF.EmitLoadOfScalar(Ptr, /*Volatile=*/false, IntType, Loc,
2394 IntType, Offset, Loc);
2395 CGF.EmitStoreOfScalar(Res, ElemPtr, /*Volatile=*/false, IntType,
H A DCGBuiltin.cpp116 QualType T, llvm::IntegerType *IntType) {
120 return CGF.Builder.CreatePtrToInt(V, IntType);
122 assert(V->getType() == IntType);
151 llvm::IntegerType *IntType = local
154 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace);
160 Args[1] = EmitToInt(CGF, Args[1], T, IntType);
212 llvm::IntegerType *IntType = local
215 llvm::Type *IntPtrType = IntType->getPointerTo(AddrSpace);
220 Args[1] = EmitToInt(CGF, Args[1], T, IntType);
229 llvm::ConstantInt::getAllOnesValue(IntType));
115 EmitToInt(CodeGenFunction &CGF, llvm::Value *V, QualType T, llvm::IntegerType *IntType) argument
254 llvm::IntegerType *IntType = llvm::IntegerType::get( local
[all...]
H A DTargetInfo.cpp62 llvm::Type *IntType = llvm::Type::getIntNTy(LLVMContext, Alignment); local
64 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements));
7051 llvm::Type *IntType = llvm::Type::getIntNTy(getVMContext(), Div);
7053 return ABIArgInfo::getDirect(llvm::ArrayType::get(IntType, NumElements));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp163 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); local
164 Type *NewSrcPtrTy = PointerType::get(IntType, SrcAddrSp);
165 Type *NewDstPtrTy = PointerType::get(IntType, DstAddrSp);
186 LoadInst *L = Builder.CreateLoad(IntType, Src);
H A DInstCombineCompares.cpp6314 Type *IntType = Builder.getIntNTy(X->getType()->getScalarSizeInBits()); local
6316 IntType = VectorType::get(IntType, VecTy->getElementCount());
6320 Value *IntX = Builder.CreateBitCast(X, IntType);
6322 ConstantInt::getNullValue(IntType));
/netbsd-current/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp586 std::string getIntegerValue(const std::string &IntType) override {
587 return "GetIntegerConstantValue<" + IntType + ">(E->getArg(" +
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp11576 QualType IntType = local
11578 assert(IntType->isArithmeticType());
11583 if (IntType->isPromotableIntegerType())
11584 IntType = S.Context.getPromotedIntegerType(IntType);
11586 LHS = S.ImpCastExprToType(LHS.get(), IntType, CK_IntegralCast);
11587 RHS = S.ImpCastExprToType(RHS.get(), IntType, CK_IntegralCast);
11588 LHSType = RHSType = IntType;
H A DSemaChecking.cpp891 const QualType &IntType);

Completed in 1046 milliseconds