Searched refs:NewTy (Results 1 - 20 of 20) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicTypeMap.h44 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 DDynamicTypeMap.cpp43 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 DValueMapper.cpp65 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 DDynamicTypePropagation.cpp287 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 DInstCombineLoadStoreAlloca.cpp185 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 DAtomicExpandPass.cpp213 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 DCodeGenPrepare.cpp2318 /// \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 DSROA.cpp1632 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 DScalarReplAggregates.cpp359 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 DRewriteStatepointsForGC.cpp1312 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 DAMDGPUPromoteAlloca.cpp364 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); local
372 V->mutateType(NewTy);
/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DDIBuilder.cpp490 auto NewTy = Ty->clone(); local
491 NewTy->setFlags(NewTy->getFlags() | FlagsToSet);
492 return MDNode::replaceWithUniqued(std::move(NewTy));
H A DVerifier.cpp3597 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 DLowerBitSets.cpp559 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 DGlobalOpt.cpp570 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 DAddressSanitizer.cpp1355 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 DSemaDeclAttr.cpp3447 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 DSemaDeclCXX.cpp12986 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 DSemaDecl.cpp14531 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 DCGExpr.cpp2606 llvm::Type *NewTy = ConvertType(E->getType()); local
2607 Addr = Builder.CreateElementBitCast(Addr, NewTy);

Completed in 317 milliseconds