| /trueos/contrib/llvm/lib/Transforms/Utils/ |
| HD | ValueMapper.cpp | 48 FunctionType *NewTy = IA->getFunctionType(); in MapValue() local 50 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy)); in MapValue() 52 if (NewTy != IA->getFunctionType()) in MapValue() 53 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(), in MapValue() 137 Type *NewTy = C->getType(); in MapValue() local 139 NewTy = TypeMapper->remapType(NewTy); in MapValue() 143 if (OpNo == NumOperands && NewTy == C->getType()) in MapValue() 164 return VM[V] = CE->getWithOperands(Ops, NewTy); in MapValue() 166 return VM[V] = ConstantArray::get(cast<ArrayType>(NewTy), Ops); in MapValue() 168 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); in MapValue() [all …]
|
| /trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | DynamicTypePropagation.cpp | 188 if (const Type *NewTy = getBetterObjCType(CastE, C)) in checkPostStmt() local 189 C.addTransition(C.getState()->setDynamicTypeInfo(ToR, QualType(NewTy,0))); in checkPostStmt() 253 const ObjCObjectPointerType *NewTy = in getBetterObjCType() local 255 if (!NewTy) in getBetterObjCType() 259 return NewTy; in getBetterObjCType() 267 if (OldTy->isObjCIdType() && !NewTy->isObjCIdType()) in getBetterObjCType() 268 return NewTy; in getBetterObjCType() 271 const ObjCInterfaceDecl *ToI = NewTy->getInterfaceDecl(); in getBetterObjCType() 274 return NewTy; in getBetterObjCType()
|
| /trueos/contrib/llvm/lib/Transforms/Scalar/ |
| HD | SROA.cpp | 1452 static bool canConvertValue(const DataLayout &DL, Type *OldTy, Type *NewTy) { in canConvertValue() argument 1453 if (OldTy == NewTy) in canConvertValue() 1456 if (IntegerType *NewITy = dyn_cast<IntegerType>(NewTy)) in canConvertValue() 1459 if (DL.getTypeSizeInBits(NewTy) != DL.getTypeSizeInBits(OldTy)) in canConvertValue() 1461 if (!NewTy->isSingleValueType() || !OldTy->isSingleValueType()) in canConvertValue() 1467 NewTy = NewTy->getScalarType(); in canConvertValue() 1468 if (NewTy->isPointerTy() || OldTy->isPointerTy()) { in canConvertValue() 1469 if (NewTy->isPointerTy() && OldTy->isPointerTy()) in canConvertValue() 1471 if (NewTy->isIntegerTy() || OldTy->isIntegerTy()) in canConvertValue() 1486 Type *NewTy) { in convertValue() argument [all …]
|
| HD | ScalarReplAggregates.cpp | 352 Type *NewTy; in TryConvert() local 357 NewTy = VectorTy; // Use the vector type. in TryConvert() 377 NewTy = IntegerType::get(AI->getContext(), BitWidth); in TryConvert() 379 AllocaInst *NewAI = new AllocaInst(NewTy, 0, "", AI->getParent()->begin()); in TryConvert() 2202 Type *NewTy = in RewriteMemIntrinUserOfAlloca() local 2205 if (OtherPtr->getType() != NewTy) in RewriteMemIntrinUserOfAlloca() 2206 OtherPtr = new BitCastInst(OtherPtr, NewTy, OtherPtr->getName(), MI); in RewriteMemIntrinUserOfAlloca()
|
| /trueos/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| HD | ProgramState.h | 344 DynamicTypeInfo NewTy) const; 348 QualType NewTy, 350 return setDynamicTypeInfo(Reg, DynamicTypeInfo(NewTy, CanBeSubClassed));
|
| /trueos/contrib/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineLoadStoreAlloca.cpp | 169 Type *NewTy = in visitAllocaInst() local 171 AllocaInst *New = Builder->CreateAlloca(NewTy, 0, AI.getName()); in visitAllocaInst()
|
| /trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| HD | ProgramState.cpp | 783 DynamicTypeInfo NewTy) const { in setDynamicTypeInfo() 785 ProgramStateRef NewState = set<DynamicTypeMap>(Reg, NewTy); in setDynamicTypeInfo()
|
| /trueos/contrib/llvm/lib/Transforms/IPO/ |
| HD | GlobalOpt.cpp | 2432 Type *NewTy = cast<PointerType>(Ptr->getType())->getElementType(); in EvaluateBlock() local 2437 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) { in EvaluateBlock() 2441 if (StructType *STy = dyn_cast<StructType>(NewTy)) { in EvaluateBlock() 2442 NewTy = STy->getTypeAtIndex(0U); in EvaluateBlock() 2444 IntegerType *IdxTy = IntegerType::get(NewTy->getContext(), 32); in EvaluateBlock() 2463 Val = ConstantExpr::getBitCast(Val, NewTy); in EvaluateBlock()
|
| /trueos/contrib/llvm/lib/Transforms/Instrumentation/ |
| HD | AddressSanitizer.cpp | 1001 StructType *NewTy = StructType::get(Ty, RightRedZoneTy, NULL); in runOnModule() local 1003 NewTy, G->getInitializer(), in runOnModule() 1013 M, NewTy, G->isConstant(), Linkage, in runOnModule()
|
| /trueos/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaDeclAttr.cpp | 3582 QualType NewTy; in handleModeAttr() local 3585 NewTy = S.Context.getIntTypeForBitwidth(DestWidth, in handleModeAttr() 3588 NewTy = S.Context.getRealTypeForBitwidth(DestWidth); in handleModeAttr() 3590 if (NewTy.isNull()) { in handleModeAttr() 3596 NewTy = S.Context.getComplexType(NewTy); in handleModeAttr() 3601 TD->setModedTypeSourceInfo(TD->getTypeSourceInfo(), NewTy); in handleModeAttr() 3603 cast<ValueDecl>(D)->setType(NewTy); in handleModeAttr()
|
| HD | SemaDeclCXX.cpp | 11989 QualType NewTy = New->getType()->getAs<FunctionType>()->getResultType(); in CheckOverridingFunctionReturnType() local 11992 if (Context.hasSameType(NewTy, OldTy) || in CheckOverridingFunctionReturnType() 11993 NewTy->isDependentType() || OldTy->isDependentType()) in CheckOverridingFunctionReturnType() 12000 if (const PointerType *NewPT = NewTy->getAs<PointerType>()) { in CheckOverridingFunctionReturnType() 12005 } else if (const ReferenceType *NewRT = NewTy->getAs<ReferenceType>()) { in CheckOverridingFunctionReturnType() 12018 << New->getDeclName() << NewTy << OldTy; in CheckOverridingFunctionReturnType() 12041 << New->getDeclName() << NewTy << OldTy; in CheckOverridingFunctionReturnType() 12062 if (NewTy.getLocalCVRQualifiers() != OldTy.getLocalCVRQualifiers()) { in CheckOverridingFunctionReturnType() 12065 << New->getDeclName() << NewTy << OldTy; in CheckOverridingFunctionReturnType() 12075 << New->getDeclName() << NewTy << OldTy; in CheckOverridingFunctionReturnType()
|
| HD | SemaDecl.cpp | 12829 QualType NewTy; in ActOnEnumBody() local 12835 NewTy = Context.IntTy; in ActOnEnumBody() 12847 NewTy = BestType; in ActOnEnumBody() 12859 !Context.hasSameType(NewTy, ECD->getInitExpr()->getType())) in ActOnEnumBody() 12860 ECD->setInitExpr(ImplicitCastExpr::Create(Context, NewTy, in ActOnEnumBody() 12871 ECD->setType(NewTy); in ActOnEnumBody()
|