| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAddMissingPrototypes.cpp | 105 FunctionType *NewType = nullptr; in runOnModule() local 110 if (!NewType) { in runOnModule() 112 NewType = DestType; in runOnModule() 113 LLVM_DEBUG(dbgs() << "found function type: " << *NewType << "\n"); in runOnModule() 114 } else if (NewType != DestType) { in runOnModule() 119 LLVM_DEBUG(dbgs() << " " << *NewType << "\n"); in runOnModule() 123 if (!NewType) { in runOnModule() 132 NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false); in runOnModule() 136 Function::Create(NewType, F.getLinkage(), F.getName() + ".fixed_sig"); in runOnModule()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 69 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer() argument 74 return ConstantArray::get(NewType, Elements); in createLoweredInitializer() 140 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal() local 143 NewInitializer = createLoweredInitializer(NewType, in lowerGlobal() 146 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), in lowerGlobal()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.h | 107 LLT NewType; member 110 unsigned TypeIdx, const LLT NewType) in LegacyLegalizeActionStep() 111 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegacyLegalizeActionStep() 114 return std::tie(Action, TypeIdx, NewType) == 115 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
|
| H A D | LegalizerInfo.h | 149 LLT NewType; member 152 const LLT NewType) in LegalizeActionStep() 153 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep() 156 : TypeIdx(Step.TypeIdx), NewType(Step.NewType) { in LegalizeActionStep() 195 return std::tie(Action, TypeIdx, NewType) == 196 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Format/ |
| H A D | FormatTokenLexer.h | 67 bool tryMergeTokens(ArrayRef<tok::TokenKind> Kinds, TokenType NewType); 69 bool tryMergeTokens(size_t Count, TokenType NewType); 72 TokenType NewType);
|
| H A D | FormatTokenLexer.cpp | 521 TokenType NewType) { in tryMergeTokens() argument 531 return tryMergeTokens(Kinds.size(), NewType); in tryMergeTokens() 534 bool FormatTokenLexer::tryMergeTokens(size_t Count, TokenType NewType) { in tryMergeTokens() argument 552 First[0]->setType(NewType); in tryMergeTokens() 557 ArrayRef<ArrayRef<tok::TokenKind>> Kinds, TokenType NewType) { in tryMergeTokensAny() argument 558 return llvm::any_of(Kinds, [this, NewType](ArrayRef<tok::TokenKind> Kinds) { in tryMergeTokensAny() 559 return tryMergeTokens(Kinds, NewType); in tryMergeTokensAny()
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
| H A D | Patterns.h | 271 void setType(PatternType NewType) { in setType() argument 272 assert((!Type || (Type == NewType)) && "Overwriting type!"); in setType() 273 Type = NewType; in setType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | Parser.cpp | 1865 TypeResult NewType in TryAnnotateName() local 1869 if (NewType.isUsable()) in TryAnnotateName() 1870 Ty = NewType.get(); in TryAnnotateName() 2131 TypeResult NewType in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local 2135 if (NewType.isUsable()) in TryAnnotateTypeOrScopeTokenAfterScopeSpec() 2136 Ty = NewType.get(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1122 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in processUGT_ADDCST_ADD() local 1124 I.getModule(), Intrinsic::sadd_with_overflow, NewType); in processUGT_ADDCST_ADD() 1132 Value *TruncA = Builder.CreateTrunc(A, NewType, A->getName() + ".trunc"); in processUGT_ADDCST_ADD() 1133 Value *TruncB = Builder.CreateTrunc(B, NewType, B->getName() + ".trunc"); in processUGT_ADDCST_ADD() 3225 Type *NewType = Builder.getIntNTy(XType->getScalarSizeInBits()); in foldICmpBitCast() local 3227 NewType = VectorType::get(NewType, XVTy->getElementCount()); in foldICmpBitCast() 3228 Value *NewBitcast = Builder.CreateBitCast(X, NewType); in foldICmpBitCast() 3231 ConstantInt::getNullValue(NewType)); in foldICmpBitCast() 3234 ConstantInt::getAllOnesValue(NewType)); in foldICmpBitCast() 3267 Type *NewType = Builder.getIntNTy(VecTy->getPrimitiveSizeInBits()); in foldICmpBitCast() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 971 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local 975 DstM, NewType, SrcGV->isConstant(), SrcGV->getLinkage(), in linkAppendingVarProto()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 7195 Type *NewType = TLI->shouldConvertSplatType(SVI); in optimizeShuffleVectorInst() local 7196 if (!NewType) in optimizeShuffleVectorInst() 7200 assert(!NewType->isVectorTy() && "Expected a scalar type!"); in optimizeShuffleVectorInst() 7201 assert(NewType->getScalarSizeInBits() == SVIVecType->getScalarSizeInBits() && in optimizeShuffleVectorInst() 7204 FixedVectorType::get(NewType, SVIVecType->getNumElements()); in optimizeShuffleVectorInst() 7210 cast<Instruction>(SVI->getOperand(0))->getOperand(1), NewType); in optimizeShuffleVectorInst() 7325 auto *NewType = Type::getIntNTy(Context, RegWidth); in optimizeSwitchType() local 7343 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 2417 QualType NewType = transformFunctionProtoType(TLB, FPTL, Params, Args, in transformConstructor() local 2419 if (NewType.isNull()) in transformConstructor() 2421 TypeSourceInfo *NewTInfo = TLB.getTypeSourceInfo(SemaRef.Context, NewType); in transformConstructor() 2631 auto NewType = NewDI->getType(); in transformFunctionTypeParam() local 2632 if (NewType->isArrayType() || NewType->isFunctionType()) in transformFunctionTypeParam() 2633 NewType = SemaRef.Context.getDecayedType(NewType); in transformFunctionTypeParam() 2637 OldParam->getLocation(), OldParam->getIdentifier(), NewType, NewDI, in transformFunctionTypeParam() 8301 QualType NewType = S.Context.getUnconstrainedType(NewNTTP->getType()); in MatchTemplateParameterKind() local 8302 if (!S.Context.hasSameType(OldType, NewType)) { in MatchTemplateParameterKind()
|
| H A D | TreeTransform.h | 5990 QualType NewType; in TransformFunctionTypeParams() local 6015 if (NewType.isNull()) in TransformFunctionTypeParams() 6020 NewType, std::nullopt); in TransformFunctionTypeParams() 6022 if (NewType.isNull()) in TransformFunctionTypeParams() 6028 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams() 6042 if (NewType.isNull()) in TransformFunctionTypeParams() 6047 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams() 6057 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams() 6062 if (NewType.isNull()) in TransformFunctionTypeParams() 6066 NewType = getSema().Context.getPackExpansionType(NewType, in TransformFunctionTypeParams() [all …]
|
| H A D | SemaDecl.cpp | 2579 QualType NewType = New->getUnderlyingType(); in isIncompatibleTypedef() local 2581 if (NewType->isVariablyModifiedType()) { in isIncompatibleTypedef() 2585 << Kind << NewType; in isIncompatibleTypedef() 2592 if (OldType != NewType && in isIncompatibleTypedef() 2594 !NewType->isDependentType() && in isIncompatibleTypedef() 2595 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef() 2598 << Kind << NewType << OldType; in isIncompatibleTypedef() 3847 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl() 3899 << NewType->getRegParmType() in MergeFunctionDecl() 11263 const auto *NewType = cast<FunctionType>(NewQType); in areMultiversionVariantFunctionsCompatible() local [all …]
|
| H A D | SemaOpenMP.cpp | 7241 QualType NewType) { in setPrototype() argument 7242 assert(NewType->isFunctionProtoType() && in setPrototype() 7249 FD->setType(NewType); in setPrototype() 7339 if (NewType.isNull()) in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 7494 if (!NewType.isNull()) in ActOnOpenMPCall() 7723 QualType NewType = in checkOpenMPDeclareVariantFunction() local 7725 if (NewType.isNull()) { in checkOpenMPDeclareVariantFunction() 7732 if (NewType->isFunctionProtoType()) { in checkOpenMPDeclareVariantFunction() 7734 setPrototype(*this, FD, NewFD, NewType); in checkOpenMPDeclareVariantFunction() 7736 setPrototype(*this, NewFD, FD, NewType); in checkOpenMPDeclareVariantFunction() [all …]
|
| H A D | SemaOverload.cpp | 1277 const auto *NewType = cast<FunctionProtoType>(NewQType); in IsOverloadOrOverrideImpl() local 1282 if (OldQType != NewQType && OldType->isVariadic() != NewType->isVariadic()) in IsOverloadOrOverrideImpl() 1415 NewType->getNumParams() - NewParamsOffset || in IsOverloadOrOverrideImpl() 1419 {NewType->param_type_begin() + NewParamsOffset, in IsOverloadOrOverrideImpl() 1420 NewType->param_type_end()}, in IsOverloadOrOverrideImpl() 3209 QualType NewType = in FunctionParamTypesAreEqual() local 3212 if (!Context.hasSameType(OldType, NewType)) { in FunctionParamTypesAreEqual() 3222 const FunctionProtoType *NewType, in FunctionParamTypesAreEqual() argument 3225 NewType->param_types(), ArgPos, Reversed); in FunctionParamTypesAreEqual()
|
| H A D | SemaDeclCXX.cpp | 1617 QualType NewType = New->getType(); in MergeVarDeclExceptionSpecs() local 1622 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) { in MergeVarDeclExceptionSpecs() 1623 NewType = R->getPointeeType(); in MergeVarDeclExceptionSpecs() 1625 } else if (const PointerType *P = NewType->getAs<PointerType>()) { in MergeVarDeclExceptionSpecs() 1626 NewType = P->getPointeeType(); in MergeVarDeclExceptionSpecs() 1628 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) { in MergeVarDeclExceptionSpecs() 1629 NewType = M->getPointeeType(); in MergeVarDeclExceptionSpecs() 1633 if (!NewType->isFunctionProtoType()) in MergeVarDeclExceptionSpecs() 1641 NewType->getAs<FunctionProtoType>(), New->getLocation())) { in MergeVarDeclExceptionSpecs()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 4648 auto *NewType = new (*this, alignof(TypedefType)) TypedefType( in getTypedefType() local 4650 Decl->TypeForDecl = NewType; in getTypedefType() 4651 Types.push_back(NewType); in getTypedefType() 4652 return QualType(NewType, 0); in getTypedefType() 4672 TypedefTypes.InsertNode(NewType, InsertPos); in getTypedefType() 4673 Types.push_back(NewType); in getTypedefType() 4674 return QualType(NewType, 0); in getTypedefType() 4698 UsingType *NewType = new (Mem) UsingType(Found, Underlying, Canon); in getUsingType() local 4699 Types.push_back(NewType); in getUsingType() 4700 UsingTypes.InsertNode(NewType, InsertPos); in getUsingType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 114 llvm::Type *NewType = CGM.getTypes().ConvertType(DstTy); in EmitCXXDestructorCall() local 116 NewType); in EmitCXXDestructorCall()
|
| H A D | CGClass.cpp | 2125 llvm::Type *NewType = in EmitCXXConstructorCall() local 2128 ThisAS, SlotAS, NewType); in EmitCXXConstructorCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 839 Type *NewType = in CastGEPIndices() local 842 CastInst::getCastOpcode(Ops[i], true, NewType, true), Ops[i], NewType, in CastGEPIndices()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Record.cpp | 330 RecTy* NewType = resolveTypes(ListTy1->getElementType(), in resolveTypes() local 332 if (NewType) in resolveTypes() 333 return NewType->getListTy(); in resolveTypes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 135 return narrowScalar(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 138 return widenScalar(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 141 return bitcast(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 144 return lower(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 147 return fewerElementsVector(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 150 return moreElementsVector(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 3317 Type *NewType = Dest.getType(); in copyMetadataForLoad() local 3354 if (NewType->isPointerTy()) in copyMetadataForLoad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 4180 Type *NewType = NewFn->getArg(I)->getType(); in UpgradeIntrinsicCall() local 4182 NewType->getScalarType()->isBFloatTy()) in UpgradeIntrinsicCall() 4183 ? Builder.CreateBitCast(Arg, NewType) in UpgradeIntrinsicCall()
|