Searched refs:OldType (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 2434 QualType OldType; in isIncompatibleTypedef() local 2436 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef() 2438 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef() 2452 if (OldType != NewType && in isIncompatibleTypedef() 2453 !OldType->isDependentType() && in isIncompatibleTypedef() 2455 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef() 2458 << Kind << NewType << OldType; in isIncompatibleTypedef() 3690 const FunctionType *OldType = cast<FunctionType>(OldQType); in MergeFunctionDecl() local 3692 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in MergeFunctionDecl() 3746 << OldType->getRegParmType(); in MergeFunctionDecl() [all …]
|
H A D | SemaOverload.cpp | 1323 const auto *OldType = cast<FunctionProtoType>(OldQType); in IsOverloadOrOverrideImpl() local 1329 if (OldQType != NewQType && OldType->isVariadic() != NewType->isVariadic()) in IsOverloadOrOverrideImpl() 1463 if (OldType->getNumParams() - OldParamsOffset != in IsOverloadOrOverrideImpl() 1466 {OldType->param_type_begin() + OldParamsOffset, in IsOverloadOrOverrideImpl() 1467 OldType->param_type_end()}, in IsOverloadOrOverrideImpl() 3265 QualType OldType = in FunctionParamTypesAreEqual() local 3270 if (!Context.hasSameType(OldType, NewType)) { in FunctionParamTypesAreEqual() 3279 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType, in FunctionParamTypesAreEqual() argument 3282 return FunctionParamTypesAreEqual(OldType->param_types(), in FunctionParamTypesAreEqual()
|
H A D | SemaDeclCXX.cpp | 1601 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local 1607 OldType = OldType->castAs<ReferenceType>()->getPointeeType(); in MergeVarDeclExceptionSpecs() 1610 OldType = OldType->castAs<PointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs() 1613 OldType = OldType->castAs<MemberPointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs() 1623 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
|
H A D | TreeTransform.h | 6084 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local 6089 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams() 6151 OldType = Expansion->getPattern(); in TransformFunctionTypeParams() 6154 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams() 6156 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
|
H A D | SemaTemplate.cpp | 7570 QualType OldType = S.Context.getUnconstrainedType(OldNTTP->getType()); in MatchTemplateParameterKind() local 7572 if (!S.Context.hasSameType(OldType, NewType)) { in MatchTemplateParameterKind()
|
H A D | SemaOpenMP.cpp | 9477 QualType OldType = E->getType(); in widenIterationCount() local 9478 unsigned HasBits = C.getTypeSize(OldType); in widenIterationCount()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 7424 Type *OldType = Cond->getType(); in optimizeSwitchType() local 7426 EVT OldVT = TLI->getValueType(*DL, OldType); in optimizeSwitchType() 7430 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchType()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 4257 Type *OldType = Arg->getType(); in UpgradeIntrinsicCall() local 4259 Args.push_back((OldType->isIntegerTy() && in UpgradeIntrinsicCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 9240 auto *OldType = dyn_cast<IntegerType>(LHS->getType()); in computeExitLimitFromICmp() local 9241 if (!OldType) in computeExitLimitFromICmp() 9246 Type::getIntNTy(OldType->getContext(), OldType->getBitWidth() * 2); in computeExitLimitFromICmp()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 1138 EVT OldType = N->getOperand(0).getValueType(); in PromoteIntRes_MULFIX() local 1141 PromotedType.getScalarSizeInBits() - OldType.getScalarSizeInBits(); in PromoteIntRes_MULFIX()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 9924 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,
|