/external/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
|
/external/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
|
/external/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 | 2317 /// \brief Mutate the type of \p Inst into \p NewTy. 2318 TypeMutator(Instruction *Inst, Type *NewTy) argument 2320 DEBUG(dbgs() << "Do: MutateType: " << *Inst << " with " << *NewTy local 2322 Inst->mutateType(NewTy); 2434 void mutateType(Instruction *Inst, Type *NewTy); 2468 void TypePromotionTransaction::mutateType(Instruction *Inst, Type *NewTy) { argument 2469 Actions.push_back(make_unique<TypePromotionTransaction::TypeMutator>(Inst, NewTy));
|
/external/clang/test/CodeGenCXX/ |
H A D | new.cpp | 288 typedef int MyClass::* NewTy; typedef in class:PR11523::MyClass 291 NewTy* f() { return new NewTy[2](); }
|
/external/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...] |
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 364 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); local 372 V->mutateType(NewTy);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 183 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); local 184 AllocaInst *New = IC.Builder->CreateAlloca(NewTy, nullptr, AI.getName()); 312 /// metadata, etc., and returns the new instruction. The \c NewTy should be the 318 static LoadInst *combineLoadToNewType(InstCombiner &IC, LoadInst &LI, Type *NewTy, argument 326 IC.Builder->CreateBitCast(Ptr, NewTy->getPointerTo(AS)), 356 if (NewTy->isPointerTy()) { 361 if (NewTy->isIntegerTy()) { 362 auto *ITy = cast<IntegerType>(NewTy); 375 if (NewTy->isPointerTy())
|
/external/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;
|
/external/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 | 571 Type *NewTy = NewGlobals[Val]->getValueType(); local 581 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); 589 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI); 2460 Type *NewTy = cast<PointerType>(Ptr->getType())->getElementType(); local 2463 // from NewTy to Val's type must be legal. If it's not, we can try 2464 // introspecting NewTy to find a legal conversion. 2465 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) { 2466 // If NewTy is a struct, we can convert the pointer to the struct 2469 if (StructType *STy = dyn_cast<StructType>(NewTy)) { 2470 NewTy [all...] |
/external/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));
|
/external/llvm/lib/Transforms/Scalar/ |
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);
|
/external/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));
|
/external/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 2606 llvm::Type *NewTy = ConvertType(E->getType()); local 2607 Addr = Builder.CreateElementBitCast(Addr, NewTy);
|
/external/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 3446 QualType NewTy = NewElemTy; local 3448 NewTy = S.Context.getVectorType(NewTy, VectorSize.getZExtValue(), 3459 NewTy = 3463 if (NewTy.isNull()) { 3470 TD->setModedTypeSourceInfo(TD->getTypeSourceInfo(), NewTy); 3472 cast<ValueDecl>(D)->setType(NewTy);
|
H A D | SemaDecl.cpp | 14486 QualType NewTy; local 14492 NewTy = Context.IntTy; 14504 NewTy = BestType; 14516 !Context.hasSameType(NewTy, ECD->getInitExpr()->getType())) 14517 ECD->setInitExpr(ImplicitCastExpr::Create(Context, NewTy, 14528 ECD->setType(NewTy);
|
H A D | SemaDeclCXX.cpp | 12953 QualType NewTy = New->getType()->getAs<FunctionType>()->getReturnType(); local 12956 if (Context.hasSameType(NewTy, OldTy) || 12957 NewTy->isDependentType() || OldTy->isDependentType()) 12964 if (const PointerType *NewPT = NewTy->getAs<PointerType>()) { 12969 } else if (const ReferenceType *NewRT = NewTy->getAs<ReferenceType>()) { 12982 << New->getDeclName() << NewTy << OldTy 13006 << New->getDeclName() << NewTy << OldTy 13031 if (NewTy.getLocalCVRQualifiers() != OldTy.getLocalCVRQualifiers()) { 13034 << New->getDeclName() << NewTy << OldTy 13046 << New->getDeclName() << NewTy << OldT [all...] |