/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ShuffleDecodeConstantPool.cpp | 37 Type *CstTy = C->getType(); 117 C->getType()->getPrimitiveSizeInBits() >= Width && 155 C->getType()->getPrimitiveSizeInBits() >= Width && 190 Type *MaskTy = C->getType(); 245 Type *MaskTy = C->getType(); 298 C->getType()->getPrimitiveSizeInBits() >= Width && 324 C->getType()->getPrimitiveSizeInBits() >= Width &&
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountChecker.h | 141 QualType getType() const { return T; } function in class:clang::ento::retaincountchecker::RefVal 186 getAutoreleaseCount(), getType(), getIvarAccessHistory()); 191 getAutoreleaseCount(), getType(), getIvarAccessHistory()); 196 getType(), getIvarAccessHistory()); 201 getType(), getIvarAccessHistory()); 207 getType(), IvarAccessHistory::AccessedDirectly); 213 getType(), IvarAccessHistory::ReleasedAfterDirectAccess);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ConstantInitBuilder.cpp | 21 llvm::Type *ConstantInitFuture::getType() const { function in class:ConstantInitFuture 24 return Data.get<llvm::Constant*>()->getType(); 26 return Data.get<ConstantInitBuilderBase*>()->Buffer[0]->getType(); 74 initializer->getType(), 117 dummy->replaceAllUsesWith(llvm::UndefValue::get(dummy->getType())); 230 llvm::Type *elementType = element->getType(); 252 if (!eltTy) eltTy = elts[0]->getType();
|
H A D | CGExprCXX.cpp | 55 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); 83 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); 133 const auto *PTy = BaseExpr->getType()->castAs<PointerType>(); 138 QualType BaseTy = BaseExpr->getType(); 171 QualType T = E->getType(); 194 return EmitCall(getContext().getPointerType(MD->getType()), callee, CE, 263 EmitCallArgs(*RtlArgs, MD->getType()->castAs<FunctionProtoType>(), 275 This = MakeAddrLValue(ThisValue, Base->getType(), BaseInfo, TBAAInfo); 310 EmitAggregateAssign(This, RHS, CE->getType()); 381 IsArrow ? Base->getType() [all...] |
H A D | CGObjC.cpp | 51 return llvm::ConstantExpr::getBitCast(C, ConvertType(E->getType())); 68 return ConstEmitter.tryEmitAbstract(E, E->getType()); 83 QualType ArgQT = ArgDecl->getType().getUnqualifiedType(); 87 const QualType ValueType(SubExpr->getType().getCanonicalType()); 91 Address Temporary = CreateMemTemp(SubExpr->getType()); 103 QualType EncodingQT = EncodingDecl->getType().getUnqualifiedType(); 115 ConvertType(E->getType())); 139 return Builder.CreateBitCast(Ptr, ConvertType(E->getType())); 201 QualType ArgQT = argDecl->getType().getUnqualifiedType(); 205 ArgQT = argDecl->getType() [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 57 I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded)); 67 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); 124 Type *VTy = V->getType(); 302 ConstantInt::get(I->getType(), NewMask & AndRHS->getValue()); 307 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue()); 376 I->setOperand(OpNo, ConstantInt::get(I->getType(), *CmpC)); 392 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); 405 if (!I->getOperand(0)->getType()->isIntOrIntVectorTy()) 408 if (VectorType *DstVTy = dyn_cast<VectorType>(I->getType())) { 410 dyn_cast<VectorType>(I->getOperand(0)->getType())) { [all...] |
H A D | InstCombineMulDivRem.cpp | 216 if (Constant *NewCst = getLogBase2(NewOp->getType(), C1)) { 251 ConstantInt::get(Y->getType(), PosVal)); 332 if (I.getType()->isIntOrIntVectorTy(1)) 359 if (match(Op0, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) 360 return SelectInst::Create(X, Op1, ConstantInt::get(I.getType(), 0)); 361 if (match(Op1, m_ZExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)) 362 return SelectInst::Create(X, Op0, ConstantInt::get(I.getType(), 0)); 611 Type *CondTy = SelectCond->getType(); 683 Type *Ty = I.getType(); 848 Constant *C1 = getLogBase2(Op0->getType(), cas [all...] |
H A D | InstCombineSelect.cpp | 84 Type *Ty = BO->getType(); 131 Type *SelType = Sel.getType(); 132 if (SelType->isVectorTy() != Cmp->getType()->isVectorTy()) 209 V = Builder.CreateAnd(V, ConstantInt::get(V->getType(), AndMask)); 273 return APInt::getNullValue(I->getType()->getScalarSizeInBits()); 275 return APInt::getAllOnesValue(I->getType()->getScalarSizeInBits()); 277 return APInt(I->getType()->getScalarSizeInBits(), 1); 296 Type *CondTy = Cond->getType(); 298 Type *FIOpndTy = FI->getOperand(0)->getType(); 299 if (TI->getOperand(0)->getType() ! [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TypePromotion.cpp | 206 return V->getType()->getScalarSizeInBits() == TypeSize; 210 return V->getType()->getScalarSizeInBits() <= TypeSize; 214 return V->getType()->getScalarSizeInBits() > TypeSize; 218 return V->getType()->getScalarSizeInBits() < TypeSize; 229 if (!isa<IntegerType>(V->getType())) 389 if (!isa<IntegerType>(V->getType()) || isSink(V)) 482 assert(V->getType() != ExtTy && "zext already extends to i32"); 533 if ((Op->getType() == ExtTy) || !isa<IntegerType>(Op->getType())) 557 if (!isa<Instruction>(V) || !isa<IntegerType>(V->getType())) [all...] |
H A D | AtomicExpandPass.cpp | 137 return DL.getTypeStoreSize(LI->getType()); 142 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); 147 return DL.getTypeStoreSize(RMWI->getValOperand()->getType()); 152 return DL.getTypeStoreSize(CASI->getCompareOperand()->getType()); 179 return DL.getTypeStoreSize(RMWI->getValOperand()->getType()); 185 return DL.getTypeStoreSize(CASI->getCompareOperand()->getType()); 285 if (LI->getType()->isFloatingPointTy()) { 289 assert(LI->getType()->isIntegerTy() && "invariant broken"); 295 if (SI->getValueOperand()->getType()->isFloatingPointTy()) { 299 assert(SI->getValueOperand()->getType() [all...] |
H A D | ScalarizeMaskedMemIntrin.cpp | 85 unsigned NumElts = Mask->getType()->getVectorNumElements(); 134 VectorType *VecType = cast<VectorType>(CI->getType()); 157 EltTy->getPointerTo(Ptr->getType()->getPointerAddressSpace()); 272 VectorType *VecType = cast<VectorType>(Src->getType()); 293 EltTy->getPointerTo(Ptr->getType()->getPointerAddressSpace()); 396 VectorType *VecType = cast<VectorType>(CI->getType()); 520 assert(isa<VectorType>(Src->getType()) && 522 assert(isa<VectorType>(Ptrs->getType()) && 523 isa<PointerType>(Ptrs->getType()->getVectorElementType()) && 533 unsigned VectorWidth = Src->getType() [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 127 if (S->getType()->isVectorTy()) return false; 139 if (ReplaceWith == S) ReplaceWith = UndefValue::get(S->getType()); 232 if (!Condition->getType()->isVectorTy()) { 505 StructType *ST = cast<StructType>(WO->getType()); 543 if (WO->getLHS()->getType()->isIntegerTy() && willNotOverflow(WO, LVI)) { 550 if (SI->getType()->isIntegerTy() && willNotOverflow(SI, LVI)) { 568 if (V->getType()->isVectorTy()) continue; 581 PointerType *Type = dyn_cast<PointerType>(V->getType()); 609 Constant *Zero = ConstantInt::get(SDI->getType(), 0); 623 if (Instr->getType() [all...] |
H A D | DivRemPairs.cpp | 89 assert(DivInst->getType() == RemInst->getType() && "Types should match."); 95 Type *getType() const { return DivInst->getType(); } function in struct:DivRemPairWorklistEntry 193 bool HasDivRemOp = TTI.hasDivRemOp(E.getType(), E.isSigned());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 78 static QualType getType(APValue::LValueBase B) { function in namespace:__anon17 90 QualType T = Redecl->getType(); 94 return D->getType(); 117 return Inner->getType(); 120 return Base->getType(); 143 return E->getType(); 144 return Ctx.getLValueReferenceType(E->getType()); 158 if (!E->getType()->isPointerType()) 180 return E && E->getType()->isPointerType() && tryUnwrapAllocSizeCall(E); 203 Type = getType(Bas 387 QualType getType(ASTContext &Ctx) const { function in struct:__anon17::SubobjectDesignator [all...] |
H A D | OSLog.cpp | 145 CharUnits Size = Ctx.getTypeSizeInChars((*Data.FieldWidth)->getType()); 150 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType()); 156 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Count)->getType()); 168 Size = Ctx.getTypeSizeInChars(Data.E->getType()); 171 auto Size = Ctx.getTypeSizeInChars(Data.E->getType());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 687 return new GlobalVariable(M, StrConst->getType(), /*isConstant=*/false, 1125 unsigned StoreSize = DL.getTypeStoreSize(Shadow->getType()); 1126 if (Shadow->getType()->isAggregateType()) { 1139 DL.getTypeSizeInBits(ConvertedShadow->getType()); 1167 Type *ShadowTy = Shadow->getType(); 1221 unsigned TypeSizeInBits = DL.getTypeSizeInBits(ConvertedShadow->getType()); 1334 return getShadowTy(V->getType()); 1377 Type *Ty = V->getType(); 1536 return getCleanShadow(V->getType()); 1605 if (!FArg.getType() [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 137 return DL.getABITypeAlignment(LI->getType()); 145 return DL.getABITypeAlignment(SI->getValueOperand()->getType()); 324 Type *PtrATy = PtrA->getType()->getPointerElementType(); 325 Type *PtrBTy = PtrB->getType()->getPointerElementType(); 341 unsigned PtrBitWidth = DL.getPointerTypeSizeInBits(PtrA->getType()); 347 unsigned NewPtrBitWidth = DL.getTypeStoreSizeInBits(PtrA->getType()); 349 if (NewPtrBitWidth != DL.getTypeStoreSizeInBits(PtrB->getType())) 421 OpA->getType() != OpB->getType()) 433 unsigned IdxBitWidth = OpA->getType() [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 192 cast<ConstantArrayType>(Str->getType()->getAsArrayTypeUnsafe()); 398 } else if (OldInit->getType().isDestructedType() && !FullyOverwritten) { 426 << NewInitRange << FullyOverwritten << OldInit->getType(); 496 Entity.getType()->getBaseElementTypeUnsafe()->isRecordType(); 613 ? new (SemaRef.Context) NoInitExpr(Base.getType()) 647 if (const RecordType *RType = ILE->getType()->getAs<RecordType>()) 654 Expr *Filler = new (SemaRef.Context) NoInitExpr(Field->getType()); 684 if (Field->getType()->isReferenceType()) { 691 << Field->getType() 740 assert((ILE->getType() ! [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CFLGraph.h | 205 assert(Val != nullptr && Val->getType()->isPointerTy()); 221 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) 238 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) 265 if (RetVal->getType()->isPointerTy()) { 367 if (Inst.getType()->isPointerTy()) 420 if (V->getType()->isPointerTy()) 422 if (Call.getType()->isPointerTy()) 446 if (V->getType() [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SymbolManager.h | 65 QualType getType() const override; 100 QualType getType() const override; 142 QualType getType() const override; 178 QualType getType() const override; 227 QualType getType() const override; 278 QualType getType() const override { return ToTy; } 320 QualType getType() const override { return T; } 365 Profile(ID, LHS, getOpcode(), RHS, getType()); 408 Profile(ID, LHS, getOpcode(), RHS, getType()); 451 Profile(ID, LHS, getOpcode(), RHS, getType()); 532 QualType getType(const SymExpr *SE) const { function in class:clang::ento::SymbolManager [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 35 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); 107 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); 157 IntegerType *DivTy = cast<IntegerType>(Dividend->getType()); 382 assert(!Rem->getType()->isVectorTy() && "Div over vectors not supported"); 383 assert((Rem->getType()->getIntegerBitWidth() == 32 || 384 Rem->getType()->getIntegerBitWidth() == 64) && 440 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); 441 assert((Div->getType()->getIntegerBitWidth() == 32 || 442 Div->getType()->getIntegerBitWidth() == 64) && 490 Type *RemTy = Rem->getType(); [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LLVMConventionsChecker.cpp | 157 if (!IsLLVMStringRef(VD->getType())) 175 if (!Ex6 || !IsStdString(Ex6->getType())) 202 QualType T = BS.getType(); 244 QualType T = D->getType(); 276 os << " (type " << FieldChain.back()->getType().getAsString() << ")";
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RangedConstraintManager.cpp | 54 if (Loc::isLocType(SSE->getLHS()->getType()) && 55 Loc::isLocType(SSE->getRHS()->getType())) { 78 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType()); 105 QualType T = Sym->getType(); 139 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ConstructionContext.cpp | 54 if (!BTE && !(MTE->getType().getCanonicalType()->getAsCXXRecordDecl() 111 assert(!cast<VarDecl>(DS->getSingleDecl())->getType().getCanonicalType() 121 assert(!RS->getRetValue()->getType().getCanonicalType() 154 assert(!I->getAnyMember()->getType().getCanonicalType() 193 assert(BTE->getType().getCanonicalType()->getAsCXXRecordDecl()
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Value.cpp | 247 assert(!getType()->isVoidTy() && "Cannot assign a name to void values!"); 403 assert(New->getType() == getType() && 444 assert(New->getType() == getType() && 468 if (!V->getType()->isPointerTy()) 523 assert(V->getType()->isPointerTy() && "Unexpected operand type!"); 553 if (!getType()->isPtrOrPtrVectorTy()) 557 assert(BitWidth == DL.getIndexTypeSizeInBits(getType()) && 577 APInt GEPOffset(DL.getIndexTypeSizeInBits(V->getType()), [all...] |