| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegacyLegalizerInfo.h | 106 LLT NewType; member 109 unsigned TypeIdx, const LLT NewType) in LegacyLegalizeActionStep() 110 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegacyLegalizeActionStep() 113 return std::tie(Action, TypeIdx, NewType) == 114 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
|
| H A D | LegalizerInfo.h | 148 LLT NewType; member 151 const LLT NewType) in LegalizeActionStep() 152 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep() 155 : TypeIdx(Step.TypeIdx), NewType(Step.NewType) { in LegalizeActionStep() 194 return std::tie(Action, TypeIdx, NewType) == 195 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | FormatTokenLexer.h | 63 bool tryMergeTokens(ArrayRef<tok::TokenKind> Kinds, TokenType NewType);
|
| H A D | FormatTokenLexer.cpp | 409 TokenType NewType) { in tryMergeTokens() argument 427 First[0]->setType(NewType); in tryMergeTokens()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | Parser.cpp | 1771 TypeResult NewType in TryAnnotateName() local 1775 if (NewType.isUsable()) in TryAnnotateName() 1776 Ty = NewType.get(); in TryAnnotateName() 2039 TypeResult NewType in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local 2043 if (NewType.isUsable()) in TryAnnotateTypeOrScopeTokenAfterScopeSpec() 2044 Ty = NewType.get(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1297 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in processUGT_ADDCST_ADD() local 1299 I.getModule(), Intrinsic::sadd_with_overflow, NewType); in processUGT_ADDCST_ADD() 1307 Value *TruncA = Builder.CreateTrunc(A, NewType, A->getName() + ".trunc"); in processUGT_ADDCST_ADD() 1308 Value *TruncB = Builder.CreateTrunc(B, NewType, B->getName() + ".trunc"); in processUGT_ADDCST_ADD() 3027 Type *NewType = Builder.getIntNTy(XType->getScalarSizeInBits()); in foldICmpBitCast() local 3029 NewType = VectorType::get(NewType, XVTy->getElementCount()); in foldICmpBitCast() 3030 Value *NewBitcast = Builder.CreateBitCast(X, NewType); in foldICmpBitCast() 3033 ConstantInt::getNullValue(NewType)); in foldICmpBitCast() 3036 ConstantInt::getAllOnesValue(NewType)); in foldICmpBitCast() 3079 Type *NewType = Builder.getIntNTy(VecTy->getPrimitiveSizeInBits()); in foldICmpBitCast() local [all …]
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/ |
| H A D | LegalizerInfoTest.cpp | 42 << Ty.NewType << ')'; in operator <<()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6919 Type *NewType = TLI->shouldConvertSplatType(SVI); in optimizeShuffleVectorInst() local 6920 if (!NewType) in optimizeShuffleVectorInst() 6924 assert(!NewType->isVectorTy() && "Expected a scalar type!"); in optimizeShuffleVectorInst() 6925 assert(NewType->getScalarSizeInBits() == SVIVecType->getScalarSizeInBits() && in optimizeShuffleVectorInst() 6928 FixedVectorType::get(NewType, SVIVecType->getNumElements()); in optimizeShuffleVectorInst() 6934 cast<Instruction>(SVI->getOperand(0))->getOperand(1), NewType); in optimizeShuffleVectorInst() 7036 auto *NewType = Type::getIntNTy(Context, RegWidth); in optimizeSwitchType() local 7054 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchType()
|
| /llvm-project-15.0.7/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 953 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local 957 DstM, NewType, SrcGV->isConstant(), SrcGV->getLinkage(), in linkAppendingVarProto()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | TreeTransform.h | 5793 QualType NewType; in TransformFunctionTypeParams() local 5818 if (NewType.isNull()) in TransformFunctionTypeParams() 5822 NewType = in TransformFunctionTypeParams() 5825 if (NewType.isNull()) in TransformFunctionTypeParams() 5831 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams() 5845 if (NewType.isNull()) in TransformFunctionTypeParams() 5850 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams() 5860 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams() 5865 if (NewType.isNull()) in TransformFunctionTypeParams() 5869 NewType = getSema().Context.getPackExpansionType(NewType, in TransformFunctionTypeParams() [all …]
|
| H A D | SemaDecl.cpp | 2451 QualType NewType = New->getUnderlyingType(); in isIncompatibleTypedef() local 2453 if (NewType->isVariablyModifiedType()) { in isIncompatibleTypedef() 2457 << Kind << NewType; in isIncompatibleTypedef() 2464 if (OldType != NewType && in isIncompatibleTypedef() 2466 !NewType->isDependentType() && in isIncompatibleTypedef() 2467 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef() 2470 << Kind << NewType << OldType; in isIncompatibleTypedef() 3690 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl() 3742 << NewType->getRegParmType() in MergeFunctionDecl() 10804 const auto *NewType = cast<FunctionType>(NewQType); in areMultiversionVariantFunctionsCompatible() local [all …]
|
| H A D | SemaOpenMP.cpp | 7011 QualType NewType) { in setPrototype() argument 7012 assert(NewType->isFunctionProtoType() && in setPrototype() 7019 FD->setType(NewType); in setPrototype() 7109 if (NewType.isNull()) in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 7257 if (!NewType.isNull()) in ActOnOpenMPCall() 7486 QualType NewType = in checkOpenMPDeclareVariantFunction() local 7488 if (NewType.isNull()) { in checkOpenMPDeclareVariantFunction() 7495 if (NewType->isFunctionProtoType()) { in checkOpenMPDeclareVariantFunction() 7497 setPrototype(*this, FD, NewFD, NewType); in checkOpenMPDeclareVariantFunction() 7499 setPrototype(*this, NewFD, FD, NewType); in checkOpenMPDeclareVariantFunction() [all …]
|
| H A D | SemaDeclCXX.cpp | 1552 QualType NewType = New->getType(); in MergeVarDeclExceptionSpecs() local 1557 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) { in MergeVarDeclExceptionSpecs() 1558 NewType = R->getPointeeType(); in MergeVarDeclExceptionSpecs() 1560 } else if (const PointerType *P = NewType->getAs<PointerType>()) { in MergeVarDeclExceptionSpecs() 1561 NewType = P->getPointeeType(); in MergeVarDeclExceptionSpecs() 1563 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) { in MergeVarDeclExceptionSpecs() 1564 NewType = M->getPointeeType(); in MergeVarDeclExceptionSpecs() 1568 if (!NewType->isFunctionProtoType()) in MergeVarDeclExceptionSpecs() 1576 NewType->getAs<FunctionProtoType>(), New->getLocation())) { in MergeVarDeclExceptionSpecs()
|
| H A D | SemaOverload.cpp | 1176 const FunctionProtoType *NewType = cast<FunctionProtoType>(NewQType); in IsOverload() local 1182 (OldType->getNumParams() != NewType->getNumParams() || in IsOverload() 1183 OldType->isVariadic() != NewType->isVariadic() || in IsOverload() 1184 !FunctionParamTypesAreEqual(OldType, NewType))) in IsOverload() 2964 const FunctionProtoType *NewType, in FunctionParamTypesAreEqual() argument 2966 assert(OldType->getNumParams() == NewType->getNumParams() && in FunctionParamTypesAreEqual() 2976 QualType New = Context.removePtrSizeAddrSpace(NewType->getParamType(J).getUnqualifiedType()); in FunctionParamTypesAreEqual()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 841 Type *NewType = Ops[i]->getType()->isVectorTy() in CastGEPIndices() local 846 NewType, in CastGEPIndices() 848 Ops[i], NewType)); in CastGEPIndices()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 107 llvm::Type *NewType = CGM.getTypes().ConvertType(DstTy); in EmitCXXDestructorCall() local 109 NewType); in EmitCXXDestructorCall()
|
| H A D | CGClass.cpp | 2094 llvm::Type *NewType = llvm::PointerType::getWithSamePointeeType( in EmitCXXConstructorCall() local 2097 ThisAS, SlotAS, NewType); in EmitCXXConstructorCall()
|
| H A D | CGOpenMPRuntime.cpp | 12465 QualType NewType; in emitLastprivateConditionalInit() local 12476 NewType = C.getRecordType(RD); in emitLastprivateConditionalInit() 12477 Address Addr = CGF.CreateMemTemp(NewType, C.getDeclAlign(VD), VD->getName()); in emitLastprivateConditionalInit() 12478 BaseLVal = CGF.MakeAddrLValue(Addr, NewType, AlignmentSource::Decl); in emitLastprivateConditionalInit() 12479 I->getSecond().try_emplace(VD, NewType, VDField, FiredField, BaseLVal); in emitLastprivateConditionalInit() 12481 NewType = std::get<0>(VI->getSecond()); in emitLastprivateConditionalInit()
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | Record.cpp | 333 RecTy* NewType = resolveTypes(ListTy1->getElementType(), in resolveTypes() local 335 if (NewType) in resolveTypes() 336 return NewType->getListTy(); in resolveTypes()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 131 return narrowScalar(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 134 return widenScalar(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 137 return bitcast(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 140 return lower(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 143 return fewerElementsVector(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 146 return moreElementsVector(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2621 Type *NewType = Dest.getType(); in copyMetadataForLoad() local 2657 if (NewType->isPointerTy()) in copyMetadataForLoad()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Decl.cpp | 4529 void EnumDecl::completeDefinition(QualType NewType, in completeDefinition() argument 4535 IntegerType = NewType.getTypePtr(); in completeDefinition()
|
| H A D | ASTContext.cpp | 4655 UsingType *NewType = in getUsingType() local 4657 Types.push_back(NewType); in getUsingType() 4658 UsingTypes.InsertNode(NewType, InsertPos); in getUsingType() 4659 return QualType(NewType, 0); in getUsingType()
|