/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | DynamicType.h | 47 DynamicTypeInfo NewTy); 51 QualType NewTy, bool CanBeSubClassed = true);
|
H A D | SMTConv.h | 654 QualType NewTy = Ctx.getPromotedIntegerType(LTy); local 655 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); 656 LHS = (*doCast)(Solver, LHS, NewTy, NewBitWidth, LTy, LBitWidth); 657 LTy = NewTy; 661 QualType NewTy = Ctx.getPromotedIntegerType(RTy); local 662 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); 663 RHS = (*doCast)(Solver, RHS, NewTy, NewBitWidth, RTy, RBitWidth); 664 RTy = NewTy; 712 QualType NewTy = local 715 RTy = NewTy; [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizeMutations.cpp | 33 const LLT NewTy = Query.Types[FromTypeIdx]; 34 return std::make_pair(TypeIdx, OldTy.changeElementType(NewTy));
|
H A D | LegalizerInfo.cpp | 127 const LLT NewTy = Mutation.second; local 137 if (NewTy.isVector()) { 140 if (NewTy.getNumElements() >= OldElts) 144 if (NewTy.getNumElements() <= OldElts) 150 return NewTy.getScalarType() == OldTy.getScalarType(); 156 if (!NewTy.isVector() || OldTy.getNumElements() != NewTy.getNumElements()) 160 if (NewTy.isVector()) 166 if (NewTy.getScalarSizeInBits() >= OldTy.getScalarSizeInBits()) 170 if (NewTy [all...] |
H A D | CombinerHelper.cpp | 892 LLT NewTy = Ty; local 895 if (NewTy.isVector()) 896 NewTy = NewTy.getSizeInBits() > 64 ? LLT::scalar(64) : LLT::scalar(32); 897 NewTy = LLT::scalar(PowerOf2Floor(NewTy.getSizeInBits() - 1)); 898 unsigned NewTySize = NewTy.getSizeInBytes(); 912 Ty = NewTy;
|
H A D | RegisterBankInfo.cpp | 477 LLT NewTy = MRI.getType(NewReg); local 478 if (OrigTy != NewTy) { 483 assert(OrigTy.getSizeInBits() <= NewTy.getSizeInBits() && 486 LLVM_DEBUG(dbgs() << "\nChange type of new opd from " << NewTy << " to "
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | DynamicType.cpp | 80 DynamicTypeInfo NewTy) { 81 State = State->set<DynamicTypeMap>(MR->StripCasts(), NewTy); 87 QualType NewTy, bool CanBeSubClassed) { 88 return setDynamicTypeInfo(State, MR, DynamicTypeInfo(NewTy, CanBeSubClassed)); 79 setDynamicTypeInfo(ProgramStateRef State, const MemRegion *MR, DynamicTypeInfo NewTy) argument 86 setDynamicTypeInfo(ProgramStateRef State, const MemRegion *MR, QualType NewTy, bool CanBeSubClassed) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
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(), 441 Type *NewTy = C->getType(); local 443 NewTy = TypeMapper->remapType(NewTy); 447 if (OpNo == NumOperands && NewTy == C->getType()) 475 return getVM()[V] = CE->getWithOperands(Ops, NewTy, fals [all...] |
H A D | CallPromotionUtils.cpp | 419 Type *NewTy = Callee->getParamByValType(ArgNo); local 421 NewTy ? NewTy : cast<PointerType>(FormalTy)->getElementType());
|
H A D | Local.cpp | 2560 auto *NewTy = NewLI.getType(); local 2563 if (NewTy->isPointerTy()) { 2570 if (!NewTy->isIntegerTy()) 2575 auto *ITy = cast<IntegerType>(NewTy); 2585 auto *NewTy = NewLI.getType(); local 2591 if (!NewTy->isPointerTy()) 2594 unsigned BitWidth = DL.getPointerTypeSizeInBits(NewTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Function.cpp | 1219 Type *NewTy = ArgTys[D.getArgumentNumber()]; 1220 if (VectorType *VTy = dyn_cast<VectorType>(NewTy)) 1221 NewTy = VectorType::getExtendedElementVectorType(VTy); 1222 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) 1223 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); 1227 return Ty != NewTy; 1234 Type *NewTy = ArgTys[D.getArgumentNumber()]; 1235 if (VectorType *VTy = dyn_cast<VectorType>(NewTy)) 1236 NewTy = VectorType::getTruncatedElementVectorType(VTy); 1237 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) [all...] |
H A D | DIBuilder.cpp | 546 auto NewTy = Ty->cloneWithFlags(Ty->getFlags() | FlagsToSet); local 547 return MDNode::replaceWithUniqued(std::move(NewTy));
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DynamicTypePropagation.cpp | 285 if (const Type *NewTy = getBetterObjCType(CE, C)) { 286 State = setDynamicTypeInfo(State, ToR, QualType(NewTy, 0)); 350 const ObjCObjectPointerType *NewTy = local 352 if (!NewTy) 356 return NewTy; 364 if (OldTy->isObjCIdType() && !NewTy->isObjCIdType()) 365 return NewTy; 368 const ObjCInterfaceDecl *ToI = NewTy->getInterfaceDecl(); 371 return NewTy;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 837 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); local 840 CI->setOperand(0, ConstantPointerNull::get(NewTy)); 843 CI->setOperand(1, ConstantPointerNull::get(NewTy)); 854 PointerType *NewTy = PointerType::get(EltTy, AMDGPUAS::LOCAL_ADDRESS); local 858 V->mutateType(NewTy); 863 SI->setOperand(1, ConstantPointerNull::get(NewTy)); 866 SI->setOperand(2, ConstantPointerNull::get(NewTy)); 870 Phi->setIncomingValue(I, ConstantPointerNull::get(NewTy));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1706 static bool canConvertValue(const DataLayout &DL, Type *OldTy, Type *NewTy) { 1707 if (OldTy == NewTy) 1713 if (isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) { 1715 cast<IntegerType>(NewTy)->getBitWidth() && 1720 if (DL.getTypeSizeInBits(NewTy) != DL.getTypeSizeInBits(OldTy)) 1722 if (!NewTy->isSingleValueType() || !OldTy->isSingleValueType()) 1728 NewTy = NewTy->getScalarType(); 1729 if (NewTy->isPointerTy() || OldTy->isPointerTy()) { 1730 if (NewTy [all...] |
H A D | RewriteStatepointsForGC.cpp | 1296 Type *NewTy = Type::getInt8PtrTy(M->getContext(), AS); 1298 NewTy = VectorType::get(NewTy, VT->getNumElements()); 1300 {NewTy});
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 198 Type *NewTy = ArrayType::get(AI.getAllocatedType(), C->getZExtValue()); local 199 AllocaInst *New = IC.Builder.CreateAlloca(NewTy, nullptr, AI.getName()); 216 NewTy, New, Idx, New->getName() + ".sub"); 446 /// metadata, etc., and returns the new instruction. The \c NewTy should be the 452 LoadInst *InstCombiner::combineLoadToNewType(LoadInst &LI, Type *NewTy, argument 454 assert((!LI.isAtomic() || isSupportedAtomicType(NewTy)) && 461 NewPtr->getType()->getPointerElementType() == NewTy && 463 NewPtr = Builder.CreateBitCast(Ptr, NewTy->getPointerTo(AS)); 473 NewTy, NewPtr, Align, LI.isVolatile(), LI.getName() + Suffix);
|
H A D | InstCombineSimplifyDemanded.cpp | 1067 Type *NewTy = (NewNumElts == 1) ? EltTy : VectorType::get(EltTy, NewNumElts); local 1069 OverloadTys[0] = NewTy; 1101 Builder.CreateShuffleVector(NewCall, UndefValue::get(NewTy), EltMask);
|
H A D | InstCombineInternal.h | 470 LoadInst *combineLoadToNewType(LoadInst &LI, Type *NewTy,
|
H A D | InstCombineSelect.cpp | 2187 Type *NewTy = Ty->getWithNewBitWidth(NewBitWidth); 2208 Function *F = Intrinsic::getDeclaration(MinMax1.getModule(), IntrinsicID, NewTy); 2209 Value *AT = Builder.CreateSExt(A, NewTy); 2210 Value *BT = Builder.CreateSExt(B, NewTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 375 Type *NewTy = getCorrespondingIntegerType(LI->getType(), local 381 Type *PT = PointerType::get(NewTy, 385 auto *NewLI = Builder.CreateLoad(NewTy, NewAddr); 463 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), local 465 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); 468 Type *PT = PointerType::get(NewTy, 1056 Type *NewTy = getCorrespondingIntegerType(CI->getCompareOperand()->getType(), local 1062 Type *PT = PointerType::get(NewTy, 1066 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); 1067 Value *NewNewVal = Builder.CreatePtrToInt(CI->getNewValOperand(), NewTy); [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64LegalizerInfo.cpp | 709 const LLT NewTy = LLT::vector(ValTy.getNumElements(), PtrSize); local 712 auto Bitcast = MIRBuilder.buildBitcast({NewTy}, {ValReg}); 715 Register NewReg = MRI.createGenericVirtualRegister(NewTy);
|
H A D | AArch64StackTagging.cpp | 259 Type *NewTy = VectorType::get(IntegerType::get(Ctx, EltSize), local 261 V = IRB.CreatePointerCast(V, NewTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.h | 889 LLT NewTy = LLT::scalarOrVector(MaxElements, VecTy.getElementType()); 890 return std::make_pair(TypeIdx, NewTy);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 2284 StructType *NewTy = StructType::get(Ty, RightRedZoneTy); local 2286 NewTy, G->getInitializer(), Constant::getNullValue(RightRedZoneTy)); 2293 new GlobalVariable(M, NewTy, G->isConstant(), Linkage, NewInitializer, 2323 ConstantExpr::getGetElementPtr(NewTy, NewGlobal, Indices2, true));
|