/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | DynamicTypeMap.h | 44 DynamicTypeInfo NewTy); 48 const MemRegion *Reg, QualType NewTy, 51 DynamicTypeInfo(NewTy, CanBeSubClassed)); 47 setDynamicTypeInfo(ProgramStateRef State, const MemRegion *Reg, QualType NewTy, bool CanBeSubClassed = true) argument
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | DynamicTypeMap.cpp | 43 DynamicTypeInfo NewTy) { 45 ProgramStateRef NewState = State->set<DynamicTypeMap>(Reg, NewTy); 42 setDynamicTypeInfo(ProgramStateRef State, const MemRegion *Reg, DynamicTypeInfo NewTy) argument
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | ValueMapper.cpp | 65 FunctionType *NewTy = IA->getFunctionType(); local 67 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy)); 69 if (NewTy != IA->getFunctionType()) 70 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(), 122 Type *NewTy = C->getType(); local 124 NewTy = TypeMapper->remapType(NewTy); 128 if (OpNo == NumOperands && NewTy == C->getType()) 153 return VM[V] = CE->getWithOperands(Ops, NewTy, fals [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DynamicTypePropagation.cpp | 287 if (const Type *NewTy = getBetterObjCType(CE, C)) { 288 State = setDynamicTypeInfo(State, ToR, QualType(NewTy, 0)); 352 const ObjCObjectPointerType *NewTy = local 354 if (!NewTy) 358 return NewTy; 366 if (OldTy->isObjCIdType() && !NewTy->isObjCIdType()) 367 return NewTy; 370 const ObjCInterfaceDecl *ToI = NewTy->getInterfaceDecl(); 373 return NewTy;
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 185 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); local 186 AllocaInst *New = IC.Builder->CreateAlloca(NewTy, nullptr, AI.getName()); 314 /// metadata, etc., and returns the new instruction. The \c NewTy should be the 320 static LoadInst *combineLoadToNewType(InstCombiner &IC, LoadInst &LI, Type *NewTy, argument 328 IC.Builder->CreateBitCast(Ptr, NewTy->getPointerTo(AS)), 358 if (NewTy->isPointerTy()) { 363 if (NewTy->isIntegerTy()) { 364 auto *ITy = cast<IntegerType>(NewTy); 377 if (NewTy->isPointerTy())
|
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 213 Type *NewTy = getCorrespondingIntegerType(LI->getType(), local 219 Type *PT = PointerType::get(NewTy, 296 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), 298 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); 301 Type *PT = PointerType::get(NewTy,
|
H A D | CodeGenPrepare.cpp | 2318 /// \brief Mutate the type of \p Inst into \p NewTy. 2319 TypeMutator(Instruction *Inst, Type *NewTy) argument 2321 DEBUG(dbgs() << "Do: MutateType: " << *Inst << " with " << *NewTy local 2323 Inst->mutateType(NewTy); 2435 void mutateType(Instruction *Inst, Type *NewTy); 2469 void TypePromotionTransaction::mutateType(Instruction *Inst, Type *NewTy) { argument 2470 Actions.push_back(make_unique<TypePromotionTransaction::TypeMutator>(Inst, NewTy));
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1632 static bool canConvertValue(const DataLayout &DL, Type *OldTy, Type *NewTy) { 1633 if (OldTy == NewTy) 1639 if (isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) { 1641 cast<IntegerType>(NewTy)->getBitWidth() && 1646 if (DL.getTypeSizeInBits(NewTy) != DL.getTypeSizeInBits(OldTy)) 1648 if (!NewTy->isSingleValueType() || !OldTy->isSingleValueType()) 1654 NewTy = NewTy->getScalarType(); 1655 if (NewTy->isPointerTy() || OldTy->isPointerTy()) { 1656 if (NewTy [all...] |
H A D | ScalarReplAggregates.cpp | 359 Type *NewTy; local 364 NewTy = VectorTy; // Use the vector type. 384 NewTy = IntegerType::get(AI->getContext(), BitWidth); 387 new AllocaInst(NewTy, nullptr, "", &AI->getParent()->front()); 2222 Type *NewTy = local 2225 if (OtherPtr->getType() != NewTy) 2226 OtherPtr = new BitCastInst(OtherPtr, NewTy, OtherPtr->getName(), MI);
|
H A D | RewriteStatepointsForGC.cpp | 1312 Type *NewTy = Type::getInt8PtrTy(M->getContext(), AS); 1314 NewTy = VectorType::get(NewTy, VT->getNumElements()); 1316 {NewTy});
|
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 364 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); local 372 V->mutateType(NewTy);
|
/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 490 auto NewTy = Ty->clone(); local 491 NewTy->setFlags(NewTy->getFlags() | FlagsToSet); 492 return MDNode::replaceWithUniqued(std::move(NewTy));
|
H A D | Verifier.cpp | 3597 Type *NewTy = ArgTys[D.getArgumentNumber()]; 3598 if (VectorType *VTy = dyn_cast<VectorType>(NewTy)) 3599 NewTy = VectorType::getExtendedElementVectorType(VTy); 3600 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) 3601 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); 3605 return Ty != NewTy; 3612 Type *NewTy = ArgTys[D.getArgumentNumber()]; 3613 if (VectorType *VTy = dyn_cast<VectorType>(NewTy)) 3614 NewTy = VectorType::getTruncatedElementVectorType(VTy); 3615 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | LowerBitSets.cpp | 559 StructType *NewTy = cast<StructType>(NewInit->getType()); local 560 const StructLayout *CombinedGlobalLayout = DL.getStructLayout(NewTy); 583 GlobalAlias *GAlias = GlobalAlias::create(NewTy->getElementType(I * 2), 0,
|
H A D | GlobalOpt.cpp | 570 Type *NewTy = NewGlobals[Val]->getValueType(); local 580 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); 588 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI); 2462 Type *NewTy = cast<PointerType>(Ptr->getType())->getElementType(); local 2465 // from NewTy to Val's type must be legal. If it's not, we can try 2466 // introspecting NewTy to find a legal conversion. 2467 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) { 2468 // If NewTy is a struct, we can convert the pointer to the struct 2471 if (StructType *STy = dyn_cast<StructType>(NewTy)) { 2472 NewTy [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 1355 StructType *NewTy = StructType::get(Ty, RightRedZoneTy, nullptr); local 1357 ConstantStruct::get(NewTy, G->getInitializer(), 1365 new GlobalVariable(M, NewTy, G->isConstant(), Linkage, NewInitializer, 1375 ConstantExpr::getGetElementPtr(NewTy, NewGlobal, Indices2, true));
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 3447 QualType NewTy = NewElemTy; local 3449 NewTy = S.Context.getVectorType(NewTy, VectorSize.getZExtValue(), 3460 NewTy = 3464 if (NewTy.isNull()) { 3471 TD->setModedTypeSourceInfo(TD->getTypeSourceInfo(), NewTy); 3473 cast<ValueDecl>(D)->setType(NewTy);
|
H A D | SemaDeclCXX.cpp | 12986 QualType NewTy = New->getType()->getAs<FunctionType>()->getReturnType(); local 12989 if (Context.hasSameType(NewTy, OldTy) || 12990 NewTy->isDependentType() || OldTy->isDependentType()) 12997 if (const PointerType *NewPT = NewTy->getAs<PointerType>()) { 13002 } else if (const ReferenceType *NewRT = NewTy->getAs<ReferenceType>()) { 13015 << New->getDeclName() << NewTy << OldTy 13039 << New->getDeclName() << NewTy << OldTy 13064 if (NewTy.getLocalCVRQualifiers() != OldTy.getLocalCVRQualifiers()) { 13067 << New->getDeclName() << NewTy << OldTy 13079 << New->getDeclName() << NewTy << OldT [all...] |
H A D | SemaDecl.cpp | 14531 QualType NewTy; local 14537 NewTy = Context.IntTy; 14549 NewTy = BestType; 14561 !Context.hasSameType(NewTy, ECD->getInitExpr()->getType())) 14562 ECD->setInitExpr(ImplicitCastExpr::Create(Context, NewTy, 14573 ECD->setType(NewTy);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 2606 llvm::Type *NewTy = ConvertType(E->getType()); local 2607 Addr = Builder.CreateElementBitCast(Addr, NewTy);
|