/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 1127 if (TypeSourceInfo *Ty = D->getFriendType()) { 1134 InstTy = Ty; 1136 InstTy = SemaRef.SubstType(Ty, TemplateArgs,
|
H A D | SemaExpr.cpp | 478 QualType Ty = E->getType(); local 479 assert(!Ty.isNull() && "DefaultFunctionArrayConversion - missing type"); 481 if (Ty->isFunctionType()) { 487 E = ImpCastExprToType(E, Context.getPointerType(Ty), 489 } else if (Ty->isArrayType()) { 502 E = ImpCastExprToType(E, Context.getArrayDecayedType(Ty), 704 QualType Ty = E->getType(); local 708 if (Ty->isFunctionType()) { 709 Res = ImpCastExprToType(E, Context.getPointerType(Ty), 732 QualType Ty local 775 QualType Ty = E->getType(); local 826 isValidVarArgType(const QualType &Ty) argument 878 const QualType &Ty = E->getType(); local 1286 GetFixedPointRank(QualType Ty) argument 1866 BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, SourceLocation Loc, const CXXScopeSpec *SS) argument 1874 BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, const DeclarationNameInfo &NameInfo, const CXXScopeSpec *SS, NamedDecl *FoundD, SourceLocation TemplateKWLoc, const TemplateArgumentListInfo *TemplateArgs) argument 1909 BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, const DeclarationNameInfo &NameInfo, NestedNameSpecifierLoc NNS, NamedDecl *FoundD, SourceLocation TemplateKWLoc, const TemplateArgumentListInfo *TemplateArgs) argument 2167 const Type *Ty = Corrected.getCorrectionSpecifier()->getAsType(); local 2573 QualType Ty = Context.getTypeDeclType(TD); local 3451 BuildFloatingLiteral(Sema &S, NumericLiteralParser &Literal, QualType Ty, SourceLocation Loc) argument 3634 QualType Ty; local 3677 QualType Ty; local 3714 QualType Ty; local 4166 const Type *Ty = T.getTypePtr(); local 6157 ActOnCompoundLiteral(SourceLocation LParenLoc, ParsedType Ty, SourceLocation RParenLoc, Expr *InitExpr) argument 6684 CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, CastKind &Kind) argument 6772 ActOnCastExpr(Scope *S, SourceLocation LParenLoc, Declarator &D, ParsedType &Ty, SourceLocation RParenLoc, Expr *CastExpr) argument 6869 QualType Ty = TInfo->getType(); local 7438 QualType Ty = CE->getCallee()->getType(); local 8784 QualType Ty = LHSType.getNonLValueExprType(Context); local 11609 IsTypeModifiable(QualType Ty, bool IsDereference) argument 11756 DiagnoseRecursiveConstFields(Sema &S, const ValueDecl *VD, const RecordType *Ty, SourceLocation Loc, SourceRange Range, OriginalExprKind OEK, bool &DiagnosticEmitted) argument 11799 QualType Ty = E->getType(); local 13587 QualType Ty = InputExpr->getType(); local 13933 QualType Ty = Context.VoidTy; local 14555 ActOnVAArg(SourceLocation BuiltinLoc, Expr *E, ParsedType Ty, SourceLocation RPLoc) argument 14679 QualType Ty; local 15232 QualType Ty = E->getType(); local [all...] |
H A D | TreeTransform.h | 13349 TypeDecl *Ty; 13384 Ty = cast<TypeDecl>((*Using->shadow_begin())->getTargetDecl()); 13388 Ty = cast<UnresolvedUsingTypenameDecl>(D); 13391 return SemaRef.Context.getTypeDeclType(Ty);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprAgg.cpp | 709 QualType Ty = E->getSubExpr()->getType(); local 711 Builder.CreateElementBitCast(Dest.getAddress(), CGF.ConvertType(Ty)); 713 CGF.MakeAddrLValue(CastPtr, Ty)); 1904 void CodeGenFunction::EmitAggregateCopy(LValue Dest, LValue Src, QualType Ty, argument 1907 assert(!Ty->isAnyComplexType() && "Shouldn't happen for complex"); 1913 if (const RecordType *RT = Ty->getAs<RecordType>()) { 1944 TypeInfo = getContext().getTypeInfoDataSizeInChars(Ty); 1946 TypeInfo = getContext().getTypeInfoInChars(Ty); 1952 getContext().getAsArrayType(Ty))) { 1985 } else if (const RecordType *RecordTy = Ty [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 928 for (MVT Ty : {MVT::v8i8, MVT::v4i8, MVT::v2i8, MVT::v4i16, MVT::v2i16, 931 setLoadExtAction(ISD::EXTLOAD, VT, Ty, Legal); 932 setLoadExtAction(ISD::ZEXTLOAD, VT, Ty, Legal); 933 setLoadExtAction(ISD::SEXTLOAD, VT, Ty, Legal); 3237 Entry.Ty = (Type *) Type::getInt32Ty(*DAG.getContext()); 8902 Entry.Ty = RetTy->getPointerTo(); 8912 Entry.Ty = ArgTy; 8971 Arg.Ty = Arg.Node.getValueType().getTypeForEVT(*DAG.getContext()); 14782 auto Ty = VT.getSimpleVT().SimpleTy; local 14784 if (Ty 15058 getScalingFactorCost(const DataLayout &DL, const AddrMode &AM, Type *Ty, unsigned AS) const argument 15272 isLegalAddressingMode(const DataLayout &DL, const AddrMode &AM, Type *Ty, unsigned AS, Instruction *I) const argument 15855 IntegerType *Ty = dyn_cast<IntegerType>(CI->getType()); local 16242 Type *Ty = VT.getTypeForEVT(*DAG.getContext()); local 17346 isHomogeneousAggregate(Type *Ty, HABaseType &Base, uint64_t &Members) argument 17412 functionArgumentNeedsConsecutiveRegisters( Type *Ty, CallingConv::ID CallConv, bool isVarArg) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.h | 48 int getIntImmCost(const APInt &Imm, Type *Ty); 51 Type *Ty); 53 Type *Ty); 82 unsigned getRegisterClassForType(bool Vector, Type *Ty = nullptr) const; 90 unsigned Opcode, Type *Ty,
|
H A D | PPCTargetTransformInfo.cpp | 51 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2"); 58 int PPCTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { argument 60 return BaseT::getIntImmCost(Imm, Ty); 62 assert(Ty->isIntegerTy()); 64 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 88 const APInt &Imm, Type *Ty) { 90 return BaseT::getIntImmCostIntrin(IID, Idx, Imm, Ty); 92 assert(Ty->isIntegerTy()); 94 unsigned BitSize = Ty->getPrimitiveSizeInBits(); 118 return PPCTTIImpl::getIntImmCost(Imm, Ty); 87 getIntImmCostIntrin(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, Type *Ty) argument 121 getIntImmCostInst(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty) argument 733 getArithmeticInstrCost(unsigned Opcode, Type *Ty, TTI::OperandValueKind Op1Info, TTI::OperandValueKind Op2Info, TTI::OperandValueProperties Opd1PropInfo, TTI::OperandValueProperties Opd2PropInfo, ArrayRef<const Value *> Args, const Instruction *CxtI) argument [all...] |
H A D | PPCISelLowering.cpp | 1305 static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign, argument 1309 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) { 1314 } else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 1319 } else if (StructType *STy = dyn_cast<StructType>(Ty)) { 1333 unsigned PPCTargetLowering::getByValTypeAlignment(Type *Ty, argument 1343 getMaxByValAlign(Ty, Align, Subtarget.hasQPX() ? 32 : 16); 3227 Entry.Ty = IntPtrTy; 13170 EVT Ty = N->getValueType(0); local 13171 SDValue BV = DAG.getNode(PPCISD::SExtVElems, dl, Ty, Shuffle); 13967 Type *Ty local 14826 isLegalAddressingMode(const DataLayout &DL, const AddrMode &AM, Type *Ty, unsigned AS, Instruction *I) const argument [all...] |
H A D | PPCISelLowering.h | 811 unsigned getByValTypeAlignment(Type *Ty, 839 Type *Ty, unsigned AS, 867 Type *Ty) const override; 937 /// Returns true if an argument of type Ty needs to be passed in a 940 Type *Ty, CallingConv::ID CallConv, bool isVarArg) const override { 948 return Ty->isArrayTy();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 2197 static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign) { argument 2200 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) { 2203 } else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 2208 } else if (StructType *STy = dyn_cast<StructType>(Ty)) { 2224 unsigned X86TargetLowering::getByValTypeAlignment(Type *Ty, argument 2228 unsigned TyAlign = DL.getABITypeAlignment(Ty); 2236 getMaxByValAlign(Ty, Align); 2373 Type *T = Args[Idx].Ty; 5060 Type *Ty) const { 5061 assert(Ty [all...] |
H A D | X86InstrInfo.cpp | 5319 Type *Ty; local 5322 Ty = Type::getFloatTy(MF.getFunction().getContext()); 5324 Ty = Type::getDoubleTy(MF.getFunction().getContext()); 5326 Ty = Type::getFP128Ty(MF.getFunction().getContext()); 5328 Ty = VectorType::get(Type::getInt32Ty(MF.getFunction().getContext()),16); 5331 Ty = VectorType::get(Type::getInt32Ty(MF.getFunction().getContext()), 8); 5333 Ty = VectorType::get(Type::getInt32Ty(MF.getFunction().getContext()), 2); 5335 Ty = VectorType::get(Type::getInt32Ty(MF.getFunction().getContext()), 4); 5340 const Constant *C = IsAllOnes ? Constant::getAllOnesValue(Ty) : 5341 Constant::getNullValue(Ty); [all...] |
H A D | X86ISelLowering.h | 756 unsigned getByValTypeAlignment(Type *Ty, 1025 Type *Ty, unsigned AS, 1047 int getScalingFactorCost(const DataLayout &DL, const AddrMode &AM, Type *Ty, 1050 bool isVectorShiftByScalarCheap(Type *Ty) const override; 1146 Type *Ty) const override;
|
H A D | X86FastISel.cpp | 165 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false); 292 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { argument 293 EVT evt = TLI.getValueType(DL, Ty, /*AllowUnknown=*/true); 848 if (PointerType *Ty = dyn_cast<PointerType>(V->getType())) 849 if (Ty->getAddressSpace() > 255) 2868 auto *Ty = cast<StructType>(Callee->getReturnType()); local 2869 Type *RetTy = Ty->getTypeAtIndex(0U); 2870 assert(Ty->getTypeAtIndex(1)->isIntegerTy() && 2871 Ty->getTypeAtIndex(1)->getScalarSizeInBits() == 1 &&
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ValueMapper.cpp | 896 for (Type *Ty : FTy->params()) 897 Tys.push_back(TypeMapper->remapType(Ty)); 905 Type *Ty = Attrs.getAttribute(i, Attribute::ByVal).getValueAsType(); local 906 if (!Ty) 911 C, i, Attribute::getWithByValType(C, TypeMapper->remapType(Ty)));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | IndVarSimplify.cpp | 927 Type *Ty = Cast->getType(); 928 uint64_t Width = SE->getTypeSizeInBits(Ty); 947 TTI->getArithmeticInstrCost(Instruction::Add, Ty) > 954 WI.WidestNativeType = SE->getEffectiveSCEVType(Ty); 964 WI.WidestNativeType = SE->getEffectiveSCEVType(Ty); 1189 auto GetExtend = [this, SignExt](const SCEV *S, Type *Ty) { 1191 return SE->getSignExtendExpr(S, Ty); 1192 return SE->getZeroExtendExpr(S, Ty);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 330 Value *FAddendCoef::getValue(Type *Ty) const { 332 ConstantFP::get(Ty, float(IntVal)) : 333 ConstantFP::get(Ty->getContext(), getFpVal()); 829 Type *Ty = Add.getType(); local 843 return new ZExtInst(Builder.CreateNUWAdd(X, NewC), Ty); 850 Constant *WideC = ConstantExpr::getSExt(NarrowC, Ty); 852 Value *WideX = Builder.CreateSExt(X, Ty); 857 Constant *WideC = ConstantExpr::getZExt(NarrowC, Ty); 859 Value *WideX = Builder.CreateZExt(X, Ty); 924 Type *Ty local 1084 Type *Ty = I.getType(); local 1230 Type *Ty = I.getType(); local 1587 OptimizePointerDifference(Value *LHS, Value *RHS, Type *Ty, bool IsNUW) argument 2081 Type *Ty = I.getType(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 128 Type *Ty = Types.pop_back_val(); local 129 switch (Ty->getTypeID()) { 134 SequentialType *STy = cast<SequentialType>(Ty); 139 StructType *STy = cast<StructType>(Ty); 489 Type *Ty = Init->getType(); 515 if (StructType *STy = dyn_cast<StructType>(Ty)) 517 else if (SequentialType *STy = dyn_cast<SequentialType>(Ty)) 532 if (StructType *STy = dyn_cast<StructType>(Ty)) { 548 } else if (SequentialType *STy = dyn_cast<SequentialType>(Ty)) { 2547 Type *Ty [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 276 const AddrMode &AM, Type *Ty, 432 static SDValue getTargetNode(GlobalAddressSDNode *N, SDLoc DL, EVT Ty, argument 434 return DAG.getTargetGlobalAddress(N->getGlobal(), DL, Ty, 0, Flags); 437 static SDValue getTargetNode(BlockAddressSDNode *N, SDLoc DL, EVT Ty, argument 439 return DAG.getTargetBlockAddress(N->getBlockAddress(), Ty, N->getOffset(), 443 static SDValue getTargetNode(ConstantPoolSDNode *N, SDLoc DL, EVT Ty, argument 445 return DAG.getTargetConstantPool(N->getConstVal(), Ty, N->getAlignment(), 453 EVT Ty = getPointerTy(DAG.getDataLayout()); local 456 SDValue Addr = getTargetNode(N, DL, Ty, DAG, 0); 461 return SDValue(DAG.getMachineNode(RISCV::PseudoLLA, DL, Ty, Add 275 isLegalAddressingMode(const DataLayout &DL, const AddrMode &AM, Type *Ty, unsigned AS, Instruction *I) const argument 493 EVT Ty = Op.getValueType(); local 530 EVT Ty = getPointerTy(DAG.getDataLayout()); local 570 EVT Ty = getPointerTy(DAG.getDataLayout()); local 602 EVT Ty = Op.getValueType(); local 1076 EVT Ty = N0.getValueType(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BTFDebug.cpp | 390 const DIType *Ty) { 393 DIToIdMap[Ty] = Id; 599 void BTFDebug::visitTypeEntry(const DIType *Ty, uint32_t &TypeId, argument 601 if (!Ty || DIToIdMap.find(Ty) != DIToIdMap.end()) { 602 TypeId = DIToIdMap[Ty]; 622 if (Ty && (!CheckPointer || !SeenPointer)) { 623 if (const auto *DTy = dyn_cast<DIDerivedType>(Ty)) { 638 if (const auto *BTy = dyn_cast<DIBasicType>(Ty)) 640 else if (const auto *STy = dyn_cast<DISubroutineType>(Ty)) 389 addType(std::unique_ptr<BTFTypeBase> TypeEntry, const DIType *Ty) argument 651 visitTypeEntry(const DIType *Ty) argument 656 visitMapDefType(const DIType *Ty, uint32_t &TypeId) argument 965 populateStructType(const DIType *Ty) argument 1005 DIType *Ty = dyn_cast<DIType>(MDN); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTO.cpp | 990 ArrayType *Ty = local 992 auto *GV = new GlobalVariable(*RegularLTO.CombinedModule, Ty, false, 994 ConstantAggregateZero::get(Ty), "");
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 141 Entry.Ty = Entry.Node.getValueType().getTypeForEVT(*DAG.getContext()); 1907 EVT Ty = OpVTLegal ? VT : MVT::i32; local 1910 SDValue Sign = TLO.DAG.getNode(ISD::FGETSIGN, dl, Ty, Src); 7050 Entry.Ty = VoidPtrType;
|
H A D | LegalizeIntegerTypes.cpp | 3610 Entry.Ty = ArgTy; 3618 Entry.Ty = PtrTy->getPointerTo();
|
H A D | FastISel.cpp | 719 Type *Ty = GTI.getIndexedType(); local 727 TotalOffs += DL.getTypeAllocSize(Ty) * IdxN; 746 uint64_t ElementSize = DL.getTypeAllocSize(Ty); 897 Entry.Ty = V->getType(); 1139 Entry.Ty = V->getType(); 1189 Type *FinalType = Arg.Ty; 1191 FinalType = cast<PointerType>(Arg.Ty)->getElementType(); 1222 PointerType *Ty = cast<PointerType>(Arg.Ty); local 1223 Type *ElementTy = Ty [all...] |
H A D | DAGCombiner.cpp | 15906 EVT Ty = EVT::getVectorVT(Context, MemVT.getScalarType(), Elts); local 15907 if (TLI.isTypeLegal(Ty) && TLI.isTypeLegal(MemVT) && 15908 TLI.canMergeStoresTo(FirstStoreAS, Ty, DAG) && 15910 Context, DL, Ty, *FirstInChain->getMemOperand(), &IsFast) && 15971 EVT Ty = local 15976 if (Ty.getSizeInBits() > MaximumLegalStoreInBits) 15979 if (TLI.isTypeLegal(Ty) && 15980 TLI.canMergeStoresTo(FirstStoreAS, Ty, DAG) && 15981 TLI.allowsMemoryAccess(Context, DL, Ty,
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueLattice.h | 335 Constant *getCompare(CmpInst::Predicate Pred, Type *Ty, argument 338 return UndefValue::get(Ty); 351 return ConstantInt::getTrue(Ty); 355 return ConstantInt::getFalse(Ty);
|