Searched refs:getType (Results 51 - 75 of 1017) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp31 QualType Ty = Expression->getType();
100 SVal Result = evalBinOp(state, Op, LeftV, RightV, B->getType());
152 QualType LTy = getContext().getCanonicalType(LHS->getType());
159 B->getType(), CTy);
199 CanQualType T = getContext().getCanonicalType(BE->getType());
264 assert(!CastE->getType()->isLValueReferenceType());
267 assert(!CastE->getType()->isRValueReferenceType());
289 QualType resultType = CastE->getType();
319 QualType T = CastE->getType();
320 QualType ExTy = Ex->getType();
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp158 const RecordType *Ty = I.getType()->getAs<RecordType>();
204 Context.getCanonicalType(BaseSpec.getType()).getUnqualifiedType();
284 BaseSpec.getType()->getAs<TemplateSpecializationType>();
286 if (auto *RT = BaseSpec.getType()->getAs<RecordType>())
304 BaseSpec.getType()->castAs<RecordType>()->getDecl());
369 if (const RecordType *Record = PE.Base->getType()->getAs<RecordType>())
381 HidingP.back().Base->getType()->getAs<RecordType>())
401 return Specifier->getType()->castAs<RecordType>()->getDecl()
411 Specifier->getType()->castAs<RecordType>()->getDecl()
419 Specifier->getType()
[all...]
H A DInheritViz.cpp96 QualType CanonBaseType = Context.getCanonicalType(Base.getType());
104 WriteNode(Base.getType(), Base.isVirtual());
110 WriteNodeReference(Base.getType(), Base.isVirtual());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp153 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements();
173 Type *EltTy = Init->getType()->getArrayElementType();
314 Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
316 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize)
327 Value *FirstTrueIdx = ConstantInt::get(Idx->getType(), FirstTrueElement);
335 Value *SecondTrueIdx = ConstantInt::get(Idx->getType(), SecondTrueElement);
347 Value *FirstFalseIdx = ConstantInt::get(Idx->getType(), FirstFalseElement);
355 Value *SecondFalseIdx = ConstantInt::get(Idx->getType(),SecondFalseElement);
367 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement);
371 Value *End = ConstantInt::get(Idx->getType(),
[all...]
H A DInstCombineVectorOps.cpp117 PHINode::Create(EI.getType(), PN->getNumIncomingValues(), ""), *PN));
168 !X->getType()->isVectorTy() ||
175 Type *SrcTy = X->getType();
176 Type *DestTy = Ext.getType();
258 unsigned VWidth = V->getType()->getVectorNumElements();
275 unsigned MaskNumElts = UserInstr->getType()->getVectorNumElements();
301 unsigned VWidth = V->getType()->getVectorNumElements();
414 SVI->getOperand(0)->getType()->getVectorNumElements();
417 return replaceInstUsesWith(EI, UndefValue::get(EI.getType()));
436 return CastInst::Create(CI->getOpcode(), EE, EI.getType());
[all...]
H A DInstCombineLoadStoreAlloca.cpp186 if (AI.getArraySize()->getType()->isIntegerTy(32))
212 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType());
226 return IC.replaceInstUsesWith(AI, Constant::getNullValue(AI.getType()));
230 Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType());
231 if (AI.getArraySize()->getType() != IntPtrTy) {
301 auto *NewI = new LoadInst(I->getType(), V);
312 V->getType()->getPointerElementType(), V, Indices);
319 auto *NewT = PointerType::get(BC->getType()->getPointerElementType(),
320 V->getType()->getPointerAddressSpace());
332 auto *PT = cast<PointerType>(I.getType());
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumTypes.cpp29 CVType CVT = Types.getType(*TI);
38 CVType UnmodifiedCVT = Types.getType(ModifiedTI);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemDerefPrinter.cpp57 if (isDereferenceablePointer(PO, LI->getType(), DL))
60 PO, LI->getType(), MaybeAlign(LI->getAlignment()), DL))
H A DConstantFolding.cpp108 if (auto *VTy = dyn_cast<VectorType>(C->getType())) {
155 unsigned NumSrcElt = C->getType()->getVectorNumElements();
159 Type *SrcEltTy = C->getType()->getVectorElementType();
218 Src = Constant::getNullValue(C->getType()->getVectorElementType());
225 Src = ConstantExpr::getZExt(Src, Elt->getType());
229 ConstantInt::get(Src->getType(), ShiftAmt));
266 ConstantInt::get(Src->getType(), ShiftAmt));
294 unsigned BitWidth = DL.getIndexTypeSizeInBits(GV->getType());
313 unsigned BitWidth = DL.getIndexTypeSizeInBits(GEP->getType());
331 Type *SrcTy = C->getType();
[all...]
H A DLoads.cpp33 Type *const Ty = Base->getType()->getPointerElementType();
76 Type *Ty = V->getType();
86 APInt Offset(DL.getIndexTypeSizeInBits(GEP->getType()), 0);
153 APInt AccessSize(DL.getPointerTypeSizeInBits(V->getType()),
203 APInt EltSize(DL.getIndexTypeSizeInBits(Ptr->getType()),
204 DL.getTypeStoreSize(LI->getType()));
206 MaybeAlign(LI->getAlignment()), LI->getType());
268 DL.getValueOrABITypeAlignment(MA, V->getType()->getPointerElementType());
322 Type *AccessedTy = AccessedPtr->getType()->getPointerElementType();
345 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), D
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBTraceOptions.i15 lldb::TraceType getType() const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp624 Assert(GV.getInitializer()->getType() == GV.getValueType(),
761 Assert(GA.getType() == Aliasee->getType(),
830 Assert(!MD.getValue()->getType()->isMetadataTy(),
1253 AssertDI(N.getType(), "missing global variable type", &N);
1268 if (auto Ty = N.getType())
1269 AssertDI(!isa<DISubroutineType>(Ty), "invalid type", &N, N.getType());
1498 Assert(Count && Count->getType()->isIntegerTy(),
1944 CE->getType()),
1950 ? CE->getType()
[all...]
H A DAutoUpgrade.cpp507 F->arg_begin()->getType());
512 F->arg_begin()->getType(),
525 F->arg_begin()->getType());
567 F->arg_begin()->getType());
572 F->arg_begin()->getType());
577 F->arg_begin()->getType());
582 F->arg_begin()->getType());
602 F->arg_begin()->getType());
608 F->arg_begin()->getType());
684 Type *Tys[] = { F->getReturnType(), F->arg_begin()->getType() };
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp141 QualType Type = D->getType().getNonReferenceType();
162 QualType Type = Arg->getType().getNonReferenceType();
178 if (Arg->getType() == Ty)
198 IVar->getType(), SourceLocation(),
222 /* TemplateArgumentListInfo=*/ nullptr, MemberDecl->getType(), ValueKind,
253 QualType Ty = Callback->getType();
260 Call->getType()->isFunctionType()) {
264 && Call->getType()->isPointerType()
265 && Call->getType()->getPointeeType()->isFunctionType()){
291 /* T =*/ callOperatorDecl->getType(),
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp216 if (!FromPtr->getType()->isPointerTy() || !ToPtr->getType()->isPointerTy())
483 Incr->replaceAllUsesWith(UndefValue::get(Incr->getType()));
494 Value *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv",
611 if (!SE->isSCEVable(PN->getType()))
692 Phi.Expansion = Rewriter.expandCodeFor(Phi.ExpansionSCEV, Phi.PN->getType(),
927 Type *Ty = Cast->getType();
936 uint64_t NarrowIVWidth = SE->getTypeSizeInBits(WI.NarrowIV->getType());
949 Cast->getOperand(0)->getType())) {
1335 if (!SE->isSCEVable(DU.NarrowUse->getType()))
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp140 QualType LHSType = BinOp->getLHS()->getType();
141 QualType RHSType = BinOp->getRHS()->getType();
152 return E->getType()->isNullPtrType();
162 QualType BaseTy = Base->getType();
164 Ctx.getTypeSize(BaseTy) >= Ctx.getTypeSize(E->getType()))
211 unsigned PromotedSize = Ctx.getTypeSize(Op.E->getType());
273 if (VD->getType()->isReferenceType()) {
275 dyn_cast<TypedefType>(VD->getType().getNonReferenceType()))
292 dyn_cast<TypedefType>(E->getType()))
390 llvm::Value *Zero = llvm::Constant::getNullValue(V->getType());
[all...]
H A DCGGPUBuiltin.cpp80 E->getDirectCallee()->getType()->getAs<FunctionProtoType>(),
100 ArgTypes.push_back(Args[I].getRValue(*this).getScalarVal()->getType());
113 Builder.CreateAlignedStore(Arg, P, DL.getPrefTypeAlignment(Arg->getType()));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp39 Type *TypeOfCopyLen = CopyLen->getType();
46 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace();
47 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace();
62 if (SrcAddr->getType() != SrcOpType) {
65 if (DstAddr->getType() != DstOpType) {
112 Value *CastedSrc = SrcAddr->getType() == SrcPtrType
121 Value *CastedDst = DstAddr->getType() == DstPtrType
154 unsigned SrcAS = cast<PointerType>(SrcAddr->getType())->getAddressSpace();
155 unsigned DstAS = cast<PointerType>(DstAddr->getType())->getAddressSpace();
158 if (SrcAddr->getType() !
[all...]
H A DCallPromotionUtils.cpp107 if (OrigInst->getType()->isVoidTy() || OrigInst->use_empty())
111 PHINode *Phi = Builder.CreatePHI(OrigInst->getType(), 0);
265 if (CS.getCalledValue()->getType() != Callee->getType())
266 Callee = Builder.CreateBitCast(Callee, CS.getCalledValue()->getType());
327 Type *CallRetTy = CS.getInstruction()->getType();
352 Type *ActualTy = CS.getArgument(I)->getType();
385 Type *CallSiteRetTy = CS.getInstruction()->getType();
406 Type *ActualTy = Arg->getType();
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIterator.cpp82 if (!isIteratorType(Func->getParamDecl(0)->getType()))
93 if (!isIteratorType(Func->getParamDecl(0)->getType()))
104 if (!isIteratorType(Func->getParamDecl(0)->getType()))
107 !isIteratorType(Func->getParamDecl(1)->getType()))
118 if (!isIteratorType(Func->getParamDecl(0)->getType()))
121 !isIteratorType(Func->getParamDecl(1)->getType()))
199 *IntDist, SymMgr.getType(Pos->getOffset()))
H A DCastToStructChecker.cpp42 QualType OrigTy = Ctx.getCanonicalType(E->getType());
43 QualType ToTy = Ctx.getCanonicalType(CE->getType());
83 if (!VD || VD->getType()->isReferenceType())
H A DCastSizeChecker.cpp62 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual();
65 Ctx.getAsConstantArrayType(Last->getType())) {
90 QualType ToTy = Ctx.getCanonicalType(CE->getType());
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp83 var->getType()->isObjCObjectPointerType() &&
84 isImplicitStrong(var->getType())) {
139 bool useWeak = canApplyWeak(Pass.Ctx, var->getType());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAliasAnalysis.cpp81 unsigned asA = LocA.Ptr->getType()->getPointerAddressSpace();
82 unsigned asB = LocB.Ptr->getType()->getPointerAddressSpace();
95 unsigned AS = Base->getType()->getPointerAddressSpace();
H A DAMDGPURewriteOutArguments.cpp152 Type *DestEltTy = BCI->getType()->getPointerElementType();
158 Type *SrcEltTy = Arg.getType()->getPointerElementType();
191 PointerType *ArgTy = dyn_cast<PointerType>(Arg.getType());
290 Type *ArgTy = OutArg->getType()->getPointerElementType();
400 Type *EltTy = Arg->getType()->getPointerElementType();
401 if (Val->getType() != EltTy) {
409 DL->getTypeSizeInBits(Val->getType())) {
410 assert(isVec3ToVec4Shuffle(EffectiveEltTy, Val->getType()));
411 Val = B.CreateShuffleVector(Val, UndefValue::get(Val->getType()),
438 StubCallArgs.push_back(UndefValue::get(Arg.getType()));
[all...]

Completed in 259 milliseconds

1234567891011>>