Searched refs:getType (Results 226 - 250 of 1017) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp1005 Type *MachineConstantPoolEntry::getType() const {
1007 return Val.MachineCPVal->getType();
1008 return Val.ConstVal->getType();
1021 switch (DL->getTypeAllocSize(getType())) {
1061 if (A->getType() == B->getType()) return false;
1064 if (isa<StructType>(A->getType()) || isa<ArrayType>(A->getType()) ||
1065 isa<StructType>(B->getType()) || isa<ArrayType>(B->getType()))
[all...]
H A DHardwareLoops.cpp383 if (!ExitCount->getType()->isPointerTy() &&
384 ExitCount->getType() != CountType)
394 SE.getZero(ExitCount->getType()))) {
432 Type *Ty = LoopCountInit->getType();
457 LoopDecrement->getType());
479 { EltsRem->getType(), EltsRem->getType(),
480 LoopDecrement->getType()
494 PHINode *Index = Builder.CreatePHI(NumElts->getType(), 2);
504 CondBuilder.CreateICmpNE(EltsRem, ConstantInt::get(EltsRem->getType(),
[all...]
H A DAnalysis.cpp288 if (isNoopBitcast(Op->getType(), I->getType(), TLI))
298 if (!isa<VectorType>(I->getType()) &&
300 cast<IntegerType>(Op->getType())->getBitWidth())
306 if (!isa<VectorType>(I->getType()) &&
308 cast<IntegerType>(I->getType())->getBitWidth())
311 TLI.allowTruncateForTailCall(Op->getType(), I->getType())) {
313 I->getType()->getPrimitiveSizeInBits().getFixedSize());
317 if (ReturnedOp && isNoopBitcast(ReturnedOp->getType(),
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEMCInstLower.cpp37 switch (MO.getType()) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp403 Type *Ty = LHS->getType();
404 assert(Ty == RHS->getType() && "expandCheck operands have different types?");
441 assert(DL.getTypeSizeInBits(LatchCheck.IV->getType()) >
475 auto *LatchType = LatchCheck.IV->getType();
564 auto *Ty = RangeCheck.IV->getType();
613 auto *Ty = RangeCheck.IV->getType();
707 auto *Ty = RangeCheckIV->getType();
719 assert(Step->getType() ==
720 CurrLatchCheck.IV->getStepRecurrence(*SE)->getType() &&
1113 if (isa<SCEVCouldNotCompute>(MinEC) || MinEC->getType()
[all...]
H A DRewriteStatepointsForGC.cpp446 return BaseDefiningValueResult(ConstantAggregateZero::get(I->getType()),
494 assert(I->getType()->isPtrOrPtrVectorTy() &&
497 if (I->getType()->isVectorTy())
517 ConstantPointerNull::get(cast<PointerType>(I->getType())), true);
524 assert(cast<PointerType>(Def->getType())->getAddressSpace() ==
525 cast<PointerType>(CI->getType())->getAddressSpace() &&
942 isa<VectorType>(State.getBaseValue()->getType())) {
969 return PHINode::Create(I->getType(), NumPreds, Name, I);
972 UndefValue *Undef = UndefValue::get(SI->getType());
976 UndefValue *Undef = UndefValue::get(EE->getVectorOperand()->getType());
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp122 CE->getOperand(0), CE->getType(),
187 !GV->getType()->isSized() || isZeroLengthArray(GV->getType()))
200 GV->getType()->getAddressSpace(),
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpState.cpp52 QualType Type = E->getType();
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DObject.h66 MachO::SectionType getType() const { function in struct:llvm::objcopy::macho::Section
71 return (getType() == MachO::S_ZEROFILL ||
72 getType() == MachO::S_GB_ZEROFILL ||
73 getType() == MachO::S_THREAD_LOCAL_ZEROFILL);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp329 Type *T = I.getType();
340 Type *T = J->getType();
361 if (UserI->getType()->isIntOrIntVectorTy()) {
384 Type *T = OI->getType();
429 DL.getTypeSizeInBits(I->getType()->getScalarType()));
441 if (!(*U)->getType()->isIntOrIntVectorTy())
455 if (UserI->getType()->isIntOrIntVectorTy()) {
H A DScalarEvolution.cpp253 OS << "(trunc " << *Op->getType() << " " << *Op << " to "
254 << *Trunc->getType() << ")";
260 OS << "(zext " << *Op->getType() << " " << *Op << " to "
261 << *ZExt->getType() << ")";
267 OS << "(sext " << *Op->getType() << " " << *Op << " to "
268 << *SExt->getType() << ")";
363 Type *SCEV::getType() const { function in class:SCEV
366 return cast<SCEVConstant>(this)->getType();
370 return cast<SCEVCastExpr>(this)->getType();
377 return cast<SCEVNAryExpr>(this)->getType();
[all...]
H A DTargetTransformInfo.cpp81 if (SE.getTypeSizeInBits(EC->getType()) > CountType->getBitWidth())
868 SmallVector<int, 32> Mask(SI->getType()->getVectorNumElements(), -1);
939 assert(I->getType()->isVectorTy() && "Expecting a vector type");
1030 Type *VecTy = RdxStart->getType();
1095 Type *VecTy = ReduxRoot->getOperand(0)->getType();
1187 return getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, Op2VK,
1197 return getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, Op2VK,
1202 Type *CondTy = SI->getCondition()->getType();
1203 return getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy, I);
1207 Type *ValTy = I->getOperand(0)->getType();
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp112 PointerType *PtrTy = getType();
349 assert(InitVal->getType() == Ty &&
369 assert(InitVal->getType() == Ty &&
398 assert(InitVal->getType() == getValueType() &&
505 PointerType *PTy = Aliasee->getType();
523 assert((!Aliasee || Aliasee->getType() == getType()) &&
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp225 if (auto *Ty = dyn_cast<PointerType>(Obj->getType()))
251 if (TLI.getValueType(DL, U->getOperand(0)->getType()) ==
258 if (TLI.getValueType(DL, U->getType()) == TLI.getPointerTy(DL))
422 if (ICmp->isEquality() && C->isZero() && C->getType()->isIntegerTy(32)) {
428 if (match(V, m_Not(m_Value(NotV))) && V->getType()->isIntegerTy(32)) {
557 MVT::SimpleValueType From = getSimpleType(V->getType());
566 MVT::SimpleValueType From = getSimpleType(V->getType());
653 Type *ArgTy = Arg.getType();
724 MVT::SimpleValueType ArgTy = getLegalType(getSimpleType(Arg.getType()));
768 if (!Subtarget->hasSIMD128() && Call->getType()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp139 QualType T = Ex->getType();
146 QualType ExType = Ex->getType();
194 QualType T = E->getType();
296 return makeZeroVal(E->getType());
312 return makeIntVal(C->getValue(), C->getType());
320 return makeTruthVal(TE->getValue(), TE->getType());
350 return evalCast(*Val, CE->getType(), SE->getType());
368 if (Loc::isLocType(E->getType()))
544 return makeNonLoc(Sym, BO_NE, BVF.getValue(0, Sym->getType()), castT
[all...]
H A DExprEngineCXX.cpp129 QualType Ty = Var->getType();
156 QualType Ty = Field->getType();
175 MR, NE->getType()->getPointeeType())));
224 QualType ReturnTy = RetE->getType();
287 if (!VD->getType()->isReferenceType()) {
412 State = State->BindExpr(CE, LCtx, State->getSVal(*L, CE->getType()));
477 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, CE->getType(),
717 QualType Ty = FD->getType();
767 symVal = svalBuilder.conjureSymbolVal(nullptr, CNE, LCtx, CNE->getType(),
792 QualType Ty = FD->getType();
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp63 src.get()->getType()->getAsPlaceholderType()) {
243 TypeSourceInfo *TInfo = GetTypeForDeclaratorCast(D, E->getType());
262 QualType DestType = DestTInfo->getType();
340 TypeSourceInfo *TInfo = GetTypeForDeclaratorCast(D, Operand.get()->getType());
350 CastOperation Op(*this, TSI->getType(), Operand);
355 if (!Operand->isTypeDependent() && !TSI->getType()->isDependentType()) {
387 QualType srcType = src->getType();
454 << src->getType() << destType << opRange << src->getSourceRange();
463 QualType To = src->getType();
718 QualType OrigSrcType = SrcExpr.get()->getType();
[all...]
H A DSemaChecking.cpp136 QualType Ty = ValArg->getType();
200 TheCall->setType(TheCall->getArg(0)->getType());
217 QualType SrcTy = Source->getType();
232 if (!IsValidIntegerType(AlignOp->getType())) {
234 << AlignOp->getType();
273 S.Context, AlignOp->getType(), false),
292 QualType Ty = Arg.get()->getType();
311 QualType Ty = Arg.get()->getType();
346 if (CE->getCallee()->getType()->isBlockPointerType()) {
369 if (!ChainResult.get()->getType()
6870 QualType getType() const { return FExpr->getType(); } function in class:__anon606::FormatStringLiteral
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp212 Type *ArgType = Arg->getType();
234 ArgType = Arg->getType();
245 if (FpExt && FpExt->getType()->isDoubleTy() &&
246 FpExt->getOperand(0)->getType()->isFloatTy())
409 Type *ArgType = Arg->getType();
425 if (FpExt && FpExt->getType()->isDoubleTy() &&
426 FpExt->getOperand(0)->getType()->isFloatTy()) {
495 ArgType = Arg->getType();
536 TD->getTypeAllocSizeInBits(TheBtCast->getType()) / 8;
540 Type *ArgPointer = PointerType::get(TheBtCast->getType(),
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp94 if (DL.getTypeSizeInBits(CE->getType()) !=
95 DL.getTypeSizeInBits(CE->getOperand(0)->getType()))
134 if (!cast<PointerType>(C->getType())->getElementType()->isSingleValueType())
190 Type *Ty = cast<PointerType>(Ptr->getType())->getElementType();
250 Val, P->getType()->getPointerElementType(), DL);
281 ConstantFoldLoadThroughBitcast(CE, CE->getOperand(0)->getType(), DL));
317 dyn_cast<FunctionType>(CE->getType()->getPointerElementType())) {
376 Type *Ty = cast<PointerType>(P->getType())->getElementType();
413 CI->getType());
475 AI->getType()
[all...]
H A DSimplifyIndVar.cpp132 assert(SE->isSCEVable(IVSrc->getType()) && "Expect SCEVable IV operand");
137 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth();
152 if (!SE->isSCEVable(UseInst->getType()))
342 auto *T = Rem->getType();
389 auto *T = Rem->getType();
428 auto *NarrowTy = cast<IntegerType>(LHS->getType());
518 Type *IVTy = IV->getType();
608 TI->replaceAllUsesWith(UndefValue::get(TI->getType()));
660 if (!SE->isSCEVable(I->getType()))
674 auto *Invariant = Rewriter.expandCodeFor(S, I->getType(), I
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h96 PointerType *getType() const { function in class:llvm::AllocaInst
97 return cast<PointerType>(Instruction::getType());
201 : LoadInst(Ptr->getType()->getPointerElementType(), Ptr, NameStr,
204 : LoadInst(Ptr->getType()->getPointerElementType(), Ptr, NameStr,
208 : LoadInst(Ptr->getType()->getPointerElementType(), Ptr, NameStr,
212 : LoadInst(Ptr->getType()->getPointerElementType(), Ptr, NameStr,
216 : LoadInst(Ptr->getType()->getPointerElementType(), Ptr, NameStr,
220 : LoadInst(Ptr->getType()->getPointerElementType(), Ptr, NameStr,
225 : LoadInst(Ptr->getType()->getPointerElementType(), Ptr, NameStr,
229 : LoadInst(Ptr->getType()
1953 VectorType *getType() const { function in class:llvm::InsertElementInst
2013 VectorType *getType() const { function in class:llvm::ShuffleVectorInst
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp89 return MD->getType()->getCanonicalTypeUnqualified()
367 argTypes.push_back(ctx.getCanonicalParamType(arg->getType()));
439 CanQualType FTy = FD->getType()->getCanonicalTypeUnqualified();
461 return arrangeObjCMessageSendSignature(MD, MD->getSelfDecl()->getType());
479 argTys.push_back(Context.getCanonicalParamType(I->getType()));
927 CharUnits FieldSize = Context.getTypeSizeInChars(FD->getType());
968 Res += getExpansionSize(BS->getType(), Context);
970 Res += getExpansionSize(FD->getType(), Context);
989 getExpandedTypes(BS->getType(), TI);
991 getExpandedTypes(FD->getType(), T
[all...]
H A DCGCXXABI.cpp72 return GetBogusMemberPointer(E->getType());
77 return GetBogusMemberPointer(E->getType());
105 MD->getType(), MD->getParent()->getTypeForDecl()));
240 derivedType = E->getSubExpr()->getType();
242 derivedType = E->getType();
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp87 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(),
115 const ArrayType *ArrTy = VD->getType()->getAsArrayTypeUnsafe();
179 QualType Ty = FD->getType();
200 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType());
252 Ctx.getTypeInfoInChars(FD->getType());

Completed in 398 milliseconds

1234567891011>>