| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAddMissingPrototypes.cpp | 91 FunctionType *NewType = nullptr; in runOnModule() local 98 if (!NewType) { in runOnModule() 100 NewType = DestType; in runOnModule() 101 LLVM_DEBUG(dbgs() << "found function type: " << *NewType << "\n"); in runOnModule() 102 } else if (NewType != DestType) { in runOnModule() 107 LLVM_DEBUG(dbgs() << " "<< *NewType << "\n"); in runOnModule() 113 if (!NewType) { in runOnModule() 122 NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false); in runOnModule() 126 Function::Create(NewType, F.getLinkage(), F.getName() + ".fixed_sig"); in runOnModule()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 70 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer() argument 75 return ConstantArray::get(NewType, Elements); in createLoweredInitializer() 141 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal() local 144 NewInitializer = createLoweredInitializer(NewType, in lowerGlobal() 147 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), in lowerGlobal()
|
| /freebsd-13.1/contrib/llvm-project/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 | 140 LLT NewType; member 143 const LLT NewType) in LegalizeActionStep() 144 : Action(Action), TypeIdx(TypeIdx), NewType(NewType) {} in LegalizeActionStep() 147 : TypeIdx(Step.TypeIdx), NewType(Step.NewType) { in LegalizeActionStep() 186 return std::tie(Action, TypeIdx, NewType) == 187 std::tie(RHS.Action, RHS.TypeIdx, RHS.NewType);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Format/ |
| H A D | FormatTokenLexer.h | 62 bool tryMergeTokens(ArrayRef<tok::TokenKind> Kinds, TokenType NewType);
|
| H A D | FormatTokenLexer.cpp | 441 TokenType NewType) { in tryMergeTokens() argument 460 First[0]->setType(NewType); in tryMergeTokens()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | Parser.cpp | 1719 TypeResult NewType in TryAnnotateName() local 1723 if (NewType.isUsable()) in TryAnnotateName() 1724 Ty = NewType.get(); in TryAnnotateName() 1987 TypeResult NewType in TryAnnotateTypeOrScopeTokenAfterScopeSpec() local 1991 if (NewType.isUsable()) in TryAnnotateTypeOrScopeTokenAfterScopeSpec() 1992 Ty = NewType.get(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1300 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in processUGT_ADDCST_ADD() local 1302 I.getModule(), Intrinsic::sadd_with_overflow, NewType); in processUGT_ADDCST_ADD() 1310 Value *TruncA = Builder.CreateTrunc(A, NewType, A->getName() + ".trunc"); in processUGT_ADDCST_ADD() 1311 Value *TruncB = Builder.CreateTrunc(B, NewType, B->getName() + ".trunc"); in processUGT_ADDCST_ADD() 2892 Type *NewType = Builder.getIntNTy(XType->getScalarSizeInBits()); in foldICmpBitCast() local 2894 NewType = VectorType::get(NewType, XVTy->getElementCount()); in foldICmpBitCast() 2895 Value *NewBitcast = Builder.CreateBitCast(X, NewType); in foldICmpBitCast() 2898 ConstantInt::getNullValue(NewType)); in foldICmpBitCast() 2901 ConstantInt::getAllOnesValue(NewType)); in foldICmpBitCast()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 936 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto() local 940 DstM, NewType, SrcGV->isConstant(), SrcGV->getLinkage(), in linkAppendingVarProto()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6905 Type *NewType = TLI->shouldConvertSplatType(SVI); in optimizeShuffleVectorInst() local 6906 if (!NewType) in optimizeShuffleVectorInst() 6910 assert(!NewType->isVectorTy() && "Expected a scalar type!"); in optimizeShuffleVectorInst() 6911 assert(NewType->getScalarSizeInBits() == SVIVecType->getScalarSizeInBits() && in optimizeShuffleVectorInst() 6914 FixedVectorType::get(NewType, SVIVecType->getNumElements()); in optimizeShuffleVectorInst() 6920 cast<Instruction>(SVI->getOperand(0))->getOperand(1), NewType); in optimizeShuffleVectorInst() 7012 auto *NewType = Type::getIntNTy(Context, RegWidth); in optimizeSwitchInst() local 7030 auto *ExtInst = CastInst::Create(ExtType, Cond, NewType); in optimizeSwitchInst()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | TreeTransform.h | 5727 QualType NewType; in TransformFunctionTypeParams() local 5752 if (NewType.isNull()) in TransformFunctionTypeParams() 5756 NewType = in TransformFunctionTypeParams() 5759 if (NewType.isNull()) in TransformFunctionTypeParams() 5765 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams() 5779 if (NewType.isNull()) in TransformFunctionTypeParams() 5784 OutParamTypes.push_back(NewType); in TransformFunctionTypeParams() 5794 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams() 5799 if (NewType.isNull()) in TransformFunctionTypeParams() 5803 NewType = getSema().Context.getPackExpansionType(NewType, in TransformFunctionTypeParams() [all …]
|
| H A D | SemaDecl.cpp | 2252 QualType NewType = New->getUnderlyingType(); in isIncompatibleTypedef() local 2254 if (NewType->isVariablyModifiedType()) { in isIncompatibleTypedef() 2258 << Kind << NewType; in isIncompatibleTypedef() 2265 if (OldType != NewType && in isIncompatibleTypedef() 2267 !NewType->isDependentType() && in isIncompatibleTypedef() 2268 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef() 2271 << Kind << NewType << OldType; in isIncompatibleTypedef() 3419 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl() 3471 << NewType->getRegParmType() in MergeFunctionDecl() 10356 const auto *NewType = cast<FunctionType>(NewQType); in areMultiversionVariantFunctionsCompatible() local [all …]
|
| H A D | SemaOpenMP.cpp | 6590 QualType NewType) { in setPrototype() argument 6591 assert(NewType->isFunctionProtoType() && in setPrototype() 6598 FD->setType(NewType); in setPrototype() 6686 if (NewType.isNull()) in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 6831 if (!NewType.isNull()) in ActOnOpenMPCall() 7019 QualType NewType = in checkOpenMPDeclareVariantFunction() local 7021 if (NewType.isNull()) { in checkOpenMPDeclareVariantFunction() 7027 if (NewType->isFunctionProtoType()) { in checkOpenMPDeclareVariantFunction() 7029 setPrototype(*this, FD, NewFD, NewType); in checkOpenMPDeclareVariantFunction() 7031 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 | 1178 const FunctionProtoType *NewType = cast<FunctionProtoType>(NewQType); in IsOverload() local 1184 (OldType->getNumParams() != NewType->getNumParams() || in IsOverload() 1185 OldType->isVariadic() != NewType->isVariadic() || in IsOverload() 1186 !FunctionParamTypesAreEqual(OldType, NewType))) in IsOverload() 2960 const FunctionProtoType *NewType, in FunctionParamTypesAreEqual() argument 2963 N = NewType->param_type_begin(), in FunctionParamTypesAreEqual()
|
| H A D | SemaTemplate.cpp | 2214 QualType NewType = transformFunctionProtoType(TLB, FPTL, Params, Args, in transformConstructor() local 2216 if (NewType.isNull()) in transformConstructor() 2218 TypeSourceInfo *NewTInfo = TLB.getTypeSourceInfo(SemaRef.Context, NewType); in transformConstructor()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 849 Type *NewType = Ops[i]->getType()->isVectorTy() in CastGEPIndices() local 854 NewType, in CastGEPIndices() 856 Ops[i], NewType)); in CastGEPIndices()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Record.cpp | 266 RecTy* NewType = resolveTypes(ListTy1->getElementType(), in resolveTypes() local 268 if (NewType) in resolveTypes() 269 return NewType->getListTy(); in resolveTypes()
|
| /freebsd-13.1/contrib/llvm-project/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 | 2066 llvm::Type *NewType = in EmitCXXConstructorCall() local 2069 ThisAS, SlotAS, NewType); in EmitCXXConstructorCall()
|
| H A D | CGOpenMPRuntime.cpp | 12451 QualType NewType; in emitLastprivateConditionalInit() local 12462 NewType = C.getRecordType(RD); in emitLastprivateConditionalInit() 12463 Address Addr = CGF.CreateMemTemp(NewType, C.getDeclAlign(VD), VD->getName()); in emitLastprivateConditionalInit() 12464 BaseLVal = CGF.MakeAddrLValue(Addr, NewType, AlignmentSource::Decl); in emitLastprivateConditionalInit() 12465 I->getSecond().try_emplace(VD, NewType, VDField, FiredField, BaseLVal); in emitLastprivateConditionalInit() 12467 NewType = std::get<0>(VI->getSecond()); in emitLastprivateConditionalInit()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 127 return narrowScalar(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 130 return widenScalar(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 133 return bitcast(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 136 return lower(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 139 return fewerElementsVector(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep() 142 return moreElementsVector(MI, Step.TypeIdx, Step.NewType); in legalizeInstrStep()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2586 Type *NewType = Dest.getType(); in copyMetadataForLoad() local 2622 if (NewType->isPointerTy()) in copyMetadataForLoad()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 4402 void EnumDecl::completeDefinition(QualType NewType, in completeDefinition() argument 4408 IntegerType = NewType.getTypePtr(); in completeDefinition()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Decl.h | 3696 void completeDefinition(QualType NewType,
|