/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/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
H A D | ValueMapper.cpp | 40 FunctionType *NewTy = IA->getFunctionType(); local 42 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy)); 44 if (NewTy != IA->getFunctionType()) 45 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(), 114 Type *NewTy = C->getType(); local 116 NewTy = TypeMapper->remapType(NewTy); 120 if (OpNo == NumOperands && NewTy == C->getType()) 141 return VM[V] = CE->getWithOperands(Ops, NewTy); [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | Evaluator.cpp | 235 Type *NewTy = cast<PointerType>(Ptr->getType())->getElementType(); local 238 // from NewTy to Val's type must be legal. If it's not, we can try 239 // introspecting NewTy to find a legal conversion. 240 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) { 241 // If NewTy is a struct, we can convert the pointer to the struct 244 if (StructType *STy = dyn_cast<StructType>(NewTy)) { 245 NewTy = STy->getTypeAtIndex(0U); 247 IntegerType *IdxTy = IntegerType::get(NewTy->getContext(), 32); 255 // If we can't improve the situation by introspecting NewTy, 266 Val = ConstantExpr::getBitCast(Val, NewTy); [all...] |
H A D | ValueMapper.cpp | 366 FunctionType *NewTy = IA->getFunctionType(); local 368 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy)); 370 if (NewTy != IA->getFunctionType()) 371 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(), 440 Type *NewTy = C->getType(); local 442 NewTy = TypeMapper->remapType(NewTy); 446 if (OpNo == NumOperands && NewTy == C->getType()) 474 return getVM()[V] = CE->getWithOperands(Ops, NewTy, fals [all...] |
/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/spirv-llvm/lib/SPIRV/ |
H A D | OCLTypeToSPIRV.cpp | 292 auto NewTy = *PI; local 293 if (OCLTyStr == OCL_TYPE_NAME_SAMPLER_T && !NewTy->isStructTy()) { 296 } else if (isPointerToOpaqueStructType(NewTy)) { 297 auto STName = NewTy->getPointerElementType()->getStructName();
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 41 Type *NewTy = local 44 AllocaInst *New = Builder->CreateAlloca(NewTy, 0, AI.getName());
|
/external/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)), 359 if (NewTy->isPointerTy()) { 364 if (NewTy->isIntegerTy()) { 365 auto *ITy = cast<IntegerType>(NewTy); 378 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/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 731 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); local 734 CI->setOperand(0, ConstantPointerNull::get(NewTy)); 737 CI->setOperand(1, ConstantPointerNull::get(NewTy)); 747 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); local 751 V->mutateType(NewTy); 756 SI->setOperand(1, ConstantPointerNull::get(NewTy)); 759 SI->setOperand(2, ConstantPointerNull::get(NewTy)); 763 Phi->setIncomingValue(I, ConstantPointerNull::get(NewTy));
|
/external/llvm/lib/Transforms/IPO/ |
H A D | LowerTypeTests.cpp | 523 StructType *NewTy = cast<StructType>(NewInit->getType()); local 524 const StructLayout *CombinedGlobalLayout = DL.getStructLayout(NewTy); 547 GlobalAlias *GAlias = GlobalAlias::create(NewTy->getElementType(I * 2), 0,
|
H A D | GlobalOpt.cpp | 532 Type *NewTy = NewGlobals[Val]->getValueType(); local 542 ConstantExpr::getGetElementPtr(NewTy, cast<Constant>(NewPtr), Idxs); 550 NewTy, NewPtr, Idxs, GEPI->getName() + "." + Twine(Val), GEPI);
|
/external/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 358 Type *NewTy = getCorrespondingIntegerType(LI->getType(), local 364 Type *PT = PointerType::get(NewTy, 442 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), local 444 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); 447 Type *PT = PointerType::get(NewTy, 917 Type *NewTy = getCorrespondingIntegerType(CI->getCompareOperand()->getType(), local 923 Type *PT = PointerType::get(NewTy, 927 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); 928 Value *NewNewVal = Builder.CreatePtrToInt(CI->getNewValOperand(), NewTy);
|
H A D | CodeGenPrepare.cpp | 2375 /// \brief Mutate the type of \p Inst into \p NewTy. 2376 TypeMutator(Instruction *Inst, Type *NewTy) argument 2378 DEBUG(dbgs() << "Do: MutateType: " << *Inst << " with " << *NewTy local 2380 Inst->mutateType(NewTy); 2492 void mutateType(Instruction *Inst, Type *NewTy); 2526 void TypePromotionTransaction::mutateType(Instruction *Inst, Type *NewTy) { argument 2527 Actions.push_back(make_unique<TypePromotionTransaction::TypeMutator>(Inst, NewTy));
|
/external/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 449 auto NewTy = Ty->clone(); local 450 NewTy->setFlags(NewTy->getFlags() | FlagsToSet); 451 return MDNode::replaceWithUniqued(std::move(NewTy));
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 2357 Type *NewTy=cast<PointerType>(Ptr->getType())->getElementType(); local 2360 // from NewTy to Val's type must be legal. If it's not, we can try 2361 // introspecting NewTy to find a legal conversion. 2362 while (!Val->getType()->canLosslesslyBitCastTo(NewTy)) { 2363 // If NewTy is a struct, we can convert the pointer to the struct 2366 if (StructType *STy = dyn_cast<StructType>(NewTy)) { 2367 NewTy = STy->getTypeAtIndex(0U); 2369 IntegerType *IdxTy =IntegerType::get(NewTy->getContext(), 32); 2375 // If we can't improve the situation by introspecting NewTy, 2384 Val = ConstantExpr::getBitCast(Val, NewTy); [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 310 Type *NewTy; local 315 NewTy = VectorTy; // Use the vector type. 324 NewTy = IntegerType::get(AI->getContext(), BitWidth); 326 AllocaInst *NewAI = new AllocaInst(NewTy, 0, "", AI->getParent()->begin()); 2059 Type *NewTy = local 2062 if (OtherPtr->getType() != NewTy) 2063 OtherPtr = new BitCastInst(OtherPtr, NewTy, OtherPtr->getName(), MI);
|
/external/swiftshader/third_party/subzero/src/ |
H A D | IceTargetLoweringX86BaseImpl.h | 3561 Type NewTy = IceType_NUM; local 3567 NewTy = IceType_v4i32; 3570 NewTy = IceType_v8i16; 3573 NewTy = IceType_v16i8; 3576 Variable *NewSrc0 = Func->makeVariable(NewTy); 3577 Variable *NewSrc1 = Func->makeVariable(NewTy); 3582 Ty = NewTy;
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 1460 StructType *NewTy = StructType::get(Ty, RightRedZoneTy, nullptr); local 1462 ConstantStruct::get(NewTy, G->getInitializer(), 1470 new GlobalVariable(M, NewTy, G->isConstant(), Linkage, NewInitializer, 1480 ConstantExpr::getGetElementPtr(NewTy, NewGlobal, Indices2, true));
|
/external/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 2775 llvm::Type *NewTy = ConvertType(E->getType()); local 2776 Addr = Builder.CreateElementBitCast(Addr, NewTy); 3012 llvm::Type *NewTy = CGF.ConvertType(BaseTy); local 3013 Addr = CGF.Builder.CreateElementBitCast(Addr, NewTy);
|
/external/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 3547 QualType NewTy = NewElemTy; local 3549 NewTy = Context.getVectorType(NewTy, VectorSize.getZExtValue(), 3560 NewTy = 3564 if (NewTy.isNull()) { 3571 TD->setModedTypeSourceInfo(TD->getTypeSourceInfo(), NewTy); 3573 ED->setIntegerType(NewTy); 3575 cast<ValueDecl>(D)->setType(NewTy);
|
H A D | SemaDecl.cpp | 14943 QualType NewTy; local 14949 NewTy = Context.IntTy; 14961 NewTy = BestType; 14973 !Context.hasSameType(NewTy, ECD->getInitExpr()->getType())) 14974 ECD->setInitExpr(ImplicitCastExpr::Create(Context, NewTy, 14985 ECD->setType(NewTy);
|
H A D | SemaDeclCXX.cpp | 13169 QualType NewTy = New->getType()->getAs<FunctionType>()->getReturnType(); local 13172 if (Context.hasSameType(NewTy, OldTy) || 13173 NewTy->isDependentType() || OldTy->isDependentType()) 13180 if (const PointerType *NewPT = NewTy->getAs<PointerType>()) { 13185 } else if (const ReferenceType *NewRT = NewTy->getAs<ReferenceType>()) { 13198 << New->getDeclName() << NewTy << OldTy 13223 << New->getDeclName() << NewTy << OldTy 13248 if (NewTy.getLocalCVRQualifiers() != OldTy.getLocalCVRQualifiers()) { 13251 << New->getDeclName() << NewTy << OldTy 13263 << New->getDeclName() << NewTy << OldT [all...] |