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