Searched refs:getType (Results 101 - 125 of 1017) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp265 Basis.Ins->getType() == C.Ins->getType() &&
287 TTI->isLegalAddressingMode(Base->getType(), nullptr, 0, true,
390 if (!isa<IntegerType>(I->getType()))
414 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1);
448 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0);
458 if (!isa<IntegerType>(I->getType()))
477 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType()));
489 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1),
521 if (GEP->getType()
[all...]
H A DNaryReassociate.cpp237 if (SE->isSCEVable(I->getType()) && isPotentiallyNaryReassociable(&*I)) {
327 DL->getPointerSizeInBits(GEP->getType()->getPointerAddressSpace());
328 return cast<IntegerType>(Index->getType())->getBitWidth() < PointerSizeInBits;
378 DL->getTypeSizeInBits(LHS->getType()) <
379 DL->getTypeSizeInBits(GEP->getOperand(I)->getType())) {
385 SE->getZeroExtendExpr(IndexExprs[I], GEP->getOperand(I)->getType());
398 Candidate = Builder.CreateBitOrPointerCast(Candidate, GEP->getType());
399 assert(Candidate->getType() == GEP->getType());
423 Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
[all...]
H A DSeparateConstOffsetFromGEP.cpp576 unsigned BitWidth = cast<IntegerType>(V->getType())->getBitWidth();
623 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType());
687 return ConstantInt::getNullValue(UserChain[ChainIndex]->getType());
766 Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
772 if ((*I)->getType() != IntPtrTy) {
817 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType());
820 Builder.getInt8PtrTy(Variadic->getType()->getPointerAddressSpace());
829 if (ResultPtr->getType() != I8PtrTy)
878 if (ResultPtr->getType() != Variadic->getType())
[all...]
H A DSCCP.cpp357 auto *STy = dyn_cast<StructType>(V->getType());
368 assert(!V->getType()->isStructTy() &&
402 if (auto *STy = dyn_cast<StructType>(V->getType()))
442 assert(!V->getType()->isStructTy() && "structs should use mergeInValue");
447 assert(!V->getType()->isStructTy() && "structs should use mergeInValue");
482 assert(!V->getType()->isStructTy() &&
491 assert(!V->getType()->isStructTy() && "Should use getStructValueState");
511 assert(!V->getType()->isStructTy() && "Should use getStructValueState");
526 assert(V->getType()->isStructTy() && "Should use getValueState");
527 assert(i < cast<StructType>(V->getType())
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp71 LLT Ty = MRI.getType(R);
79 LLT Ty = MRI.getType(R);
95 LLT DstTy = MRI.getType(R);
136 MRI.getType(Src.getReg()).isValid()) {
184 LLT Ty = MRI.getType(MI.getOperand(1).getReg());
351 LLT SrcTy = MRI.getType(SrcReg);
391 LLT DstTy = MRI.getType(R);
404 MRI.getType(Src.getReg()).isValid()) {
413 LLT SrcTy = MRI.getType(Src);
419 LLT SrcTy = MRI.getType(Sr
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcMCInstLower.cpp37 switch(MO.getType()) {
70 switch(MO.getType()) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp142 Type *DstTy = CurrentTruncInst->getType();
145 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits();
251 I->getOperand(0)->getType()->getScalarSizeInBits();
259 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits();
279 if (auto *VTy = dyn_cast<VectorType>(V->getType()))
318 if (I->getOperand(0)->getType() == Ty) {
364 Type *DstTy = CurrentTruncInst->getType();
365 if (Res->getType() != DstTy) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h172 if (C->getType() == DestTy)
178 if (C->getType() == DestTy)
183 if (C->getType() == DestTy)
188 if (C->getType() == DestTy)
202 if (C->getType() == DestTy)
207 if (C->getType() == DestTy)
212 if (C->getType() == DestTy)
219 if (C->getType() == DestTy)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineConstantPool.h43 /// getType - get type of this MachineConstantPoolValue.
45 Type *getType() const { return Ty; } function in class:llvm::MachineConstantPoolValue
100 Type *getType() const;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp53 const FunctionProtoType *FnType = FD->getType()->castAs<FunctionProtoType>();
303 S.BuildDeclRefExpr(BuiltInDecl, BuiltInDecl->getType(), VK_LValue, Loc);
354 Base, Base->getType(), Loc, /*IsPtr=*/false, SS,
364 << NameInfo.getName() << Base->getType()->getAsCXXRecordDecl()
403 OpaqueValueExpr(Loc, E->getType(), VK_LValue, E->getObjectKind(), E);
408 ExprResult CoroHandleRes = buildCoroutineHandle(S, CoroPromise->getType(), Loc);
427 if (!AwaitReady->getType()->isDependentType()) {
442 if (!AwaitSuspend->getType()->isDependentType()) {
474 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc);
491 QualType T = FD->getType()
[all...]
H A DSemaExpr.cpp243 << D->getDeclName() << cast<VarDecl>(D)->getType();
390 QualType type = cast<ValueDecl>(D)->getType();
472 if (E->getType()->isPlaceholderType()) {
478 QualType Ty = E->getType();
516 UO->getSubExpr()->getType()->isPointerType()) {
518 UO->getSubExpr()->getType()->getPointeeType().getAddressSpace();
523 !UO->getType().isVolatileQualified()) {
546 QualType BaseType = Base->getType();
592 if (E->getType()->isPlaceholderType()) {
603 QualType T = E->getType();
8831 QualType getType() const { return Orig->getType(); } function in struct:__anon105::OriginalOperand
[all...]
H A DSemaPseudoObject.cpp63 refExpr->getExplicitProperty(), refExpr->getType(),
69 refExpr->getImplicitPropertySetter(), refExpr->getType(),
79 SpecificCallback(refExpr->getKeyExpr(), 1), refExpr->getType(),
89 refExpr->getPropertyDecl(), refExpr->isArrow(), refExpr->getType(),
102 refExpr->getType(), refExpr->getValueKind(), refExpr->getObjectKind(),
131 uop->getType(),
173 rebuiltExpr->getType(),
241 QualType ty = exp->getType();
369 new (S.Context) OpaqueValueExpr(GenericLoc, e->getType(),
457 opcode, capturedRHS->getType(),
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp72 if (I->getType().isDestructedType())
84 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
108 if (BaseD->getType()->castAs<FunctionType>()->getCallConv() !=
109 D->getType()->castAs<FunctionType>()->getCallConv())
143 if (Ref->getType() != AliasType)
192 assert(Entry->getType() == AliasType &&
H A DCGBuiltin.cpp99 cast<llvm::FunctionType>(getTypes().ConvertType(FD->getType()));
110 if (V->getType()->isPointerTy())
113 assert(V->getType() == IntType);
124 assert(V->getType() == ResultType);
133 QualType T = E->getType();
134 assert(E->getArg(0)->getType()->isPointerType());
136 E->getArg(0)->getType()->getPointeeType()));
137 assert(CGF.getContext().hasSameUnqualifiedType(T, E->getArg(1)->getType()));
140 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace();
150 llvm::Type *ValueType = Args[1]->getType();
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryLocation.cpp42 LocationSize::precise(DL.getTypeStoreSize(LI->getType())), AATags);
52 SI->getValueOperand()->getType())),
71 CXI->getCompareOperand()->getType())),
82 RMWI->getValOperand()->getType())),
179 Arg, LocationSize::precise(DL.getTypeStoreSize(II->getType())),
186 II->getArgOperand(1)->getType())),
H A DLoopUnrollAnalyzer.cpp28 if (!SE.isSCEVable(I->getType()))
116 if (CDS->getElementType() != I.getType())
154 if (COp && CastInst::castIsValid(I.getOpcode(), COp, I.getType())) {
156 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) {
194 if (CLHS->getType() == CRHS->getType()) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h84 const LLT &DstTy = MRI.getType(DstReg);
109 LLT DstTy = MRI.getType(DstReg);
114 LLT SrcTy = MRI.getType(SrcReg);
128 const LLT &DstTy = MRI.getType(DstReg);
153 LLT DstTy = MRI.getType(DstReg);
157 LLT SrcTy = MRI.getType(SrcReg);
181 const LLT &DstTy = MRI.getType(DstReg);
207 LLT DstTy = MRI.getType(DstReg);
294 LLT OpTy = MRI.getType(MI.getOperand(NumDefs).getReg());
295 LLT DestTy = MRI.getType(M
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp227 if (V->getType() == Tp)
260 if (V->getType()->isPointerTy())
271 if (V->getType()->isVectorTy())
358 PointerType *Tp = cast<PointerType>(Ptr->getType());
360 Type *ValTy = Val->getType();
377 Value *Val1 = getRandomValue(Val0->getType());
380 if (Val0->getType()->isPointerTy() ||
381 Val1->getType()->isPointerTy())
385 if (Val0->getType()->getScalarSizeInBits() == 1)
388 bool isFloat = Val0->getType()
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp58 if (Constant *TorF = getPredForICmpCode(Code, Sign, LHS->getType(), NewPred))
71 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0);
73 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1);
105 NewRHS = ConstantInt::get(I.getType(), C->byteSwap());
111 I.getType());
170 Type *Ty = V->getType();
299 Y = ConstantInt::get(X->getType(), Mask);
300 Z = ConstantInt::get(X->getType(), 0);
317 if (!LHS->getOperand(0)->getType()->isIntegerTy() ||
318 !RHS->getOperand(0)->getType()
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp117 if (!Arg->getType()->isFloatTy())
118 V = ConstantExpr::getFPExtend(V, Arg->getType());
310 Type *ArgType = CI.getArgOperand(0)->getType();
442 if (!Exp->getType()->isFloatTy())
443 V = ConstantExpr::getFPExtend(V, Exp->getType());
455 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits();
471 if (!Exp->getType()->isFloatTy())
472 V = ConstantExpr::getFPExtend(V, Exp->getType());
473 if (!Base->getType()->isFloatTy())
474 V0 = ConstantExpr::getFPExtend(V0, Exp->getType());
[all...]
H A DBuildLibCalls.cpp823 unsigned AS = V->getType()->getPointerAddressSpace();
894 return emitLibCall(LibFunc_strncpy, I8Ptr, {I8Ptr, I8Ptr, Len->getType()},
901 return emitLibCall(LibFunc_stpncpy, I8Ptr, {I8Ptr, I8Ptr, Len->getType()},
960 {B.getInt8PtrTy(), B.getInt8PtrTy(), B.getInt32Ty(), Len->getType()},
970 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy()},
993 return emitLibCall(LibFunc_strlcpy, Size->getType(),
994 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
1000 return emitLibCall(LibFunc_strlcat, Size->getType(),
1001 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
1008 {B.getInt8PtrTy(), B.getInt8PtrTy(), Size->getType()},
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp276 Type *Ty = I.getType();
286 assert(needsPromotionToI32(I.getType()) &&
298 Type *I32Ty = getI32Ty(Builder, I.getType());
324 TruncRes = Builder.CreateTrunc(ExtRes, I.getType());
333 assert(needsPromotionToI32(I.getOperand(0)->getType()) &&
339 Type *I32Ty = getI32Ty(Builder, I.getOperand(0)->getType());
360 assert(needsPromotionToI32(I.getType()) &&
366 Type *I32Ty = getI32Ty(Builder, I.getType());
380 TruncRes = Builder.CreateTrunc(ExtRes, I.getType());
392 assert(needsPromotionToI32(I.getType())
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1014 if (RelocatedBase->getType() != Base->getType()) {
1016 Builder.CreateBitCast(RelocatedBase, Base->getType());
1024 if (Replacement->getType() != ToReplace->getType()) {
1026 Builder.CreateBitCast(Replacement, ToReplace->getType());
1125 CI->getType(), "", &*InsertPt);
1161 EVT SrcVT = TLI.getValueType(DL, CI->getOperand(0)->getType());
1162 EVT DstVT = TLI.getValueType(DL, CI->getType());
1249 B = ConstantInt::get(B->getType(),
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp598 switch (C->getType()->getTypeID()) {
607 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0);
611 if(StructType *STy = dyn_cast<StructType>(C->getType())) {
629 auto* VTy = cast<VectorType>(C->getType());
658 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
664 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
670 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
688 if (CE->getType()->isFloatTy())
690 else if (CE->getType()->isDoubleTy())
692 else if (CE->getType()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1125 if (PDecl->getType()->isObjCQualifiedIdType()) {
1130 QualType QT = PDecl->getType();
1269 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1282 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1296 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1345 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1358 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1372 NewMsg = ObjCMessageExpr::Create(*Context, OldMsg->getType(),
1495 QualType ElementType = cast<ValueDecl>(D)->getType();
1512 if (VD->getType()
[all...]

Completed in 314 milliseconds

1234567891011>>