Home
last modified time | relevance | path

Searched refs:OldType (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp613 MachineOperand &OldType = *I.uses().begin(); in insertLogicalCopyOnResult() local
614 Register OldTypeReg = OldType.getReg(); in insertLogicalCopyOnResult()
617 OldType.setReg(NewTypeReg); in insertLogicalCopyOnResult()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp1577 Type *OldType = I->getType(); in tryNarrowMathIfNoOverflow() local
1582 unsigned OrigBit = OldType->getScalarSizeInBits(); in tryNarrowMathIfNoOverflow()
1601 TTI.getArithmeticInstrCost(Opc, OldType, TTI::TCK_RecipThroughput); in tryNarrowMathIfNoOverflow()
1612 NewType, OldType, in tryNarrowMathIfNoOverflow()
1617 TTI.getCastInstrCost(Instruction::ZExt, OldType, NewType, in tryNarrowMathIfNoOverflow()
1628 Value *Zext = Builder.CreateZExt(Arith, OldType); in tryNarrowMathIfNoOverflow()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp2452 QualType OldType; in isIncompatibleTypedef() local
2454 OldType = OldTypedef->getUnderlyingType(); in isIncompatibleTypedef()
2456 OldType = Context.getTypeDeclType(Old); in isIncompatibleTypedef()
2470 if (OldType != NewType && in isIncompatibleTypedef()
2471 !OldType->isDependentType() && in isIncompatibleTypedef()
2473 !Context.hasSameType(OldType, NewType)) { in isIncompatibleTypedef()
2476 << Kind << NewType << OldType; in isIncompatibleTypedef()
3759 const FunctionType *OldType = cast<FunctionType>(OldQType); in MergeFunctionDecl() local
3761 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in MergeFunctionDecl()
3815 << OldType->getRegParmType(); in MergeFunctionDecl()
[all …]
H A DSemaOverload.cpp1363 const auto *OldType = cast<FunctionProtoType>(OldQType); in IsOverloadOrOverrideImpl() local
1369 if (OldQType != NewQType && OldType->isVariadic() != NewType->isVariadic()) in IsOverloadOrOverrideImpl()
1516 if (OldType->getNumParams() - OldParamsOffset != in IsOverloadOrOverrideImpl()
1519 {OldType->param_type_begin() + OldParamsOffset, in IsOverloadOrOverrideImpl()
1520 OldType->param_type_end()}, in IsOverloadOrOverrideImpl()
3452 QualType OldType = in FunctionParamTypesAreEqual() local
3457 if (!Context.hasSameType(OldType, NewType)) { in FunctionParamTypesAreEqual()
3466 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType, in FunctionParamTypesAreEqual() argument
3469 return FunctionParamTypesAreEqual(OldType->param_types(), in FunctionParamTypesAreEqual()
H A DSemaDeclCXX.cpp1721 QualType OldType = Old->getType(); in MergeVarDeclExceptionSpecs() local
1727 OldType = OldType->castAs<ReferenceType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
1730 OldType = OldType->castAs<PointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
1733 OldType = OldType->castAs<MemberPointerType>()->getPointeeType(); in MergeVarDeclExceptionSpecs()
1743 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
H A DTreeTransform.h6311 QualType OldType = ParamTypes[i]; in TransformFunctionTypeParams() local
6316 = dyn_cast<PackExpansionType>(OldType)) { in TransformFunctionTypeParams()
6378 OldType = Expansion->getPattern(); in TransformFunctionTypeParams()
6381 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
6383 NewType = getDerived().TransformType(OldType); in TransformFunctionTypeParams()
H A DSemaTemplate.cpp8023 QualType OldType = S.Context.getUnconstrainedType(OldNTTP->getType()); in MatchTemplateParameterKind() local
8025 if (!S.Context.hasSameType(OldType, NewType)) { in MatchTemplateParameterKind()
H A DSemaOpenMP.cpp9519 QualType OldType = E->getType(); in widenIterationCount() local
9520 unsigned HasBits = C.getTypeSize(OldType); in widenIterationCount()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7816 Type *OldType = Cond->getType(); in optimizeSwitchType() local
7818 EVT OldVT = TLI->getValueType(*DL, OldType); in optimizeSwitchType()
7822 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth()) in optimizeSwitchType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1449 QualType adjustType(QualType OldType,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp2559 Type *OldType = Arg->getType(); in upgradeNVVMIntrinsicCall() local
2562 (OldType->isIntegerTy() && NewType->getScalarType()->isBFloatTy()) in upgradeNVVMIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp9295 auto *OldType = dyn_cast<IntegerType>(LHS->getType()); in computeExitLimitFromICmp() local
9296 if (!OldType) in computeExitLimitFromICmp()
9301 Type::getIntNTy(OldType->getContext(), OldType->getBitWidth() * 2); in computeExitLimitFromICmp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1183 EVT OldType = N->getOperand(0).getValueType(); in PromoteIntRes_MULFIX() local
1186 PromotedType.getScalarSizeInBits() - OldType.getScalarSizeInBits(); in PromoteIntRes_MULFIX()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10109 bool FunctionParamTypesAreEqual(const FunctionProtoType *OldType,