Home
last modified time | relevance | path

Searched refs:Ty (Results 1 – 25 of 760) sorted by relevance

12345678910>>...31

/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DLowLevelType.cpp20 LLT llvm::getLLTForType(Type &Ty, const DataLayout &DL) { in getLLTForType() argument
21 if (auto VTy = dyn_cast<VectorType>(&Ty)) { in getLLTForType()
29 if (auto PTy = dyn_cast<PointerType>(&Ty)) { in getLLTForType()
34 if (Ty.isSized()) { in getLLTForType()
37 auto SizeInBits = DL.getTypeSizeInBits(&Ty); in getLLTForType()
45 MVT llvm::getMVTForLLT(LLT Ty) { in getMVTForLLT() argument
46 if (!Ty.isVector()) in getMVTForLLT()
47 return MVT::getIntegerVT(Ty.getSizeInBits()); in getMVTForLLT()
50 MVT::getIntegerVT(Ty.getElementType().getSizeInBits()), in getMVTForLLT()
51 Ty.getNumElements()); in getMVTForLLT()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86LegalizerInfo.cpp116 for (auto Ty : {p0, s1, s8, s16, s32}) in setLegalizerInfo32bit()
117 LegacyInfo.setAction({G_IMPLICIT_DEF, Ty}, LegacyLegalizeActions::Legal); in setLegalizerInfo32bit()
119 for (auto Ty : {s8, s16, s32, p0}) in setLegalizerInfo32bit()
120 LegacyInfo.setAction({G_PHI, Ty}, LegacyLegalizeActions::Legal); in setLegalizerInfo32bit()
123 for (auto Ty : {s8, s16, s32}) in setLegalizerInfo32bit()
124 LegacyInfo.setAction({BinOp, Ty}, LegacyLegalizeActions::Legal); in setLegalizerInfo32bit()
132 for (auto Ty : {s8, s16, s32, p0}) in setLegalizerInfo32bit()
133 LegacyInfo.setAction({MemOp, Ty}, LegacyLegalizeActions::Legal); in setLegalizerInfo32bit()
175 for (auto Ty : {s8, s16, s32, p0}) in setLegalizerInfo32bit()
176 LegacyInfo.setAction({TargetOpcode::G_CONSTANT, Ty}, in setLegalizerInfo32bit()
[all …]
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DTargetInfo.cpp56 static ABIArgInfo coerceToIntArray(QualType Ty, in coerceToIntArray() argument
60 const uint64_t Size = Context.getTypeSize(Ty); in coerceToIntArray()
61 const uint64_t Alignment = Context.getTypeAlign(Ty); in coerceToIntArray()
85 ABIArgInfo ABIInfo::getNaturalAlignIndirect(QualType Ty, bool ByVal, in getNaturalAlignIndirect() argument
88 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), ByVal, in getNaturalAlignIndirect()
93 ABIInfo::getNaturalAlignIndirectInReg(QualType Ty, bool Realign) const { in getNaturalAlignIndirectInReg() argument
94 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirectInReg()
99 QualType Ty) const { in EmitMSVAArg()
108 bool ABIInfo::isPromotableIntegerTypeForABI(QualType Ty) const { in isPromotableIntegerTypeForABI()
109 if (getContext().isPromotableIntegerType(Ty)) in isPromotableIntegerTypeForABI()
[all …]
DPatternInit.cpp16 llvm::Type *Ty) { in initializationPatternFor() argument
36 if (Ty->isIntOrIntVectorTy()) { in initializationPatternFor()
38 cast<llvm::IntegerType>(Ty->getScalarType())->getBitWidth(); in initializationPatternFor()
40 return llvm::ConstantInt::get(Ty, IntValue); in initializationPatternFor()
42 Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue))); in initializationPatternFor()
44 if (Ty->isPtrOrPtrVectorTy()) { in initializationPatternFor()
45 auto *PtrTy = cast<llvm::PointerType>(Ty->getScalarType()); in initializationPatternFor()
54 if (Ty->isFPOrFPVectorTy()) { in initializationPatternFor()
56 Ty->getScalarType()->getFltSemantics()); in initializationPatternFor()
60 return llvm::ConstantFP::getQNaN(Ty, NegativeNaN, &Payload); in initializationPatternFor()
[all …]
DCodeGenTypes.cpp50 llvm::StructType *Ty, in addRecordTypeName() argument
84 Ty->setName(OS.str()); in addRecordTypeName()
93 const Type *Ty = Context.getCanonicalType(T).getTypePtr(); in ConvertTypeForMem() local
94 const ConstantMatrixType *MT = cast<ConstantMatrixType>(Ty); in ConvertTypeForMem()
122 bool CodeGenTypes::isRecordLayoutComplete(const Type *Ty) const { in isRecordLayoutComplete()
124 RecordDeclTypes.find(Ty); in isRecordLayoutComplete()
215 bool CodeGenTypes::isFuncParamTypeConvertible(QualType Ty) { in isFuncParamTypeConvertible() argument
218 if (const auto *MPT = Ty->getAs<MemberPointerType>()) in isFuncParamTypeConvertible()
222 const TagType *TT = Ty->getAs<TagType>(); in isFuncParamTypeConvertible()
303 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass() local
[all …]
DCodeGenTBAA.cpp115 llvm::MDNode *CodeGenTBAA::getTypeInfoHelper(const Type *Ty) { in getTypeInfoHelper() argument
116 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getTypeInfoHelper()
119 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) { in getTypeInfoHelper()
183 if (Ty->isStdByteType()) in getTypeInfoHelper()
189 if (Ty->isPointerType() || Ty->isReferenceType()) in getTypeInfoHelper()
193 if (CodeGenOpts.NewStructPathTBAA && Ty->isArrayType()) in getTypeInfoHelper()
194 return getTypeInfo(cast<ArrayType>(Ty)->getElementType()); in getTypeInfoHelper()
198 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTypeInfoHelper()
212 if (const auto *EIT = dyn_cast<BitIntType>(Ty)) { in getTypeInfoHelper()
244 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTypeInfo() local
[all …]
DCGDebugInfo.h81 llvm::DIType *Id##Ty = nullptr;
178 llvm::DIType *CreateType(const BuiltinType *Ty);
179 llvm::DIType *CreateType(const ComplexType *Ty);
180 llvm::DIType *CreateType(const BitIntType *Ty);
181 llvm::DIType *CreateQualifiedType(QualType Ty, llvm::DIFile *Fg);
182 llvm::DIType *CreateQualifiedType(const FunctionProtoType *Ty,
184 llvm::DIType *CreateType(const TypedefType *Ty, llvm::DIFile *Fg);
185 llvm::DIType *CreateType(const TemplateSpecializationType *Ty,
187 llvm::DIType *CreateType(const ObjCObjectPointerType *Ty, llvm::DIFile *F);
188 llvm::DIType *CreateType(const PointerType *Ty, llvm::DIFile *F);
[all …]
/openbsd/src/gnu/llvm/llvm/lib/IR/
DConstants.cpp356 Constant *Constant::getNullValue(Type *Ty) { in getNullValue() argument
357 switch (Ty->getTypeID()) { in getNullValue()
359 return ConstantInt::get(Ty, 0); in getNullValue()
367 return ConstantFP::get(Ty->getContext(), in getNullValue()
368 APFloat::getZero(Ty->getFltSemantics())); in getNullValue()
370 return ConstantPointerNull::get(cast<PointerType>(Ty)); in getNullValue()
375 return ConstantAggregateZero::get(Ty); in getNullValue()
377 return ConstantTokenNone::get(Ty->getContext()); in getNullValue()
379 return ConstantTargetNone::get(cast<TargetExtType>(Ty)); in getNullValue()
386 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { in getIntegerValue() argument
[all …]
DInstructions.cpp663 CallInst::CallInst(FunctionType *Ty, Value *Func, const Twine &Name, in CallInst() argument
665 : CallBase(Ty->getReturnType(), Instruction::Call, in CallInst()
667 init(Ty, Func, Name); in CallInst()
670 CallInst::CallInst(FunctionType *Ty, Value *Func, const Twine &Name, in CallInst() argument
672 : CallBase(Ty->getReturnType(), Instruction::Call, in CallInst()
674 init(Ty, Func, Name); in CallInst()
1453 static Align computeAllocaDefaultAlign(Type *Ty, BasicBlock *BB) { in computeAllocaDefaultAlign() argument
1458 return DL.getPrefTypeAlign(Ty); in computeAllocaDefaultAlign()
1461 static Align computeAllocaDefaultAlign(Type *Ty, Instruction *I) { in computeAllocaDefaultAlign() argument
1463 return computeAllocaDefaultAlign(Ty, I->getParent()); in computeAllocaDefaultAlign()
[all …]
DDataLayout.cpp56 Type *Ty = ST->getElementType(i); in StructLayout() local
57 const Align TyAlign = ST->isPacked() ? Align(1) : DL.getABITypeAlign(Ty); in StructLayout()
70 StructSize += DL.getTypeAllocSize(Ty).getFixedValue(); in StructLayout()
681 const StructLayout *DataLayout::getStructLayout(StructType *Ty) const { in getStructLayout()
686 StructLayout *&SL = (*STM)[Ty]; in getStructLayout()
692 StructLayout::totalSizeToAlloc<uint64_t>(Ty->getNumElements())); in getStructLayout()
698 new (L) StructLayout(Ty, *this); in getStructLayout()
724 unsigned DataLayout::getPointerTypeSizeInBits(Type *Ty) const { in getPointerTypeSizeInBits()
725 assert(Ty->isPtrOrPtrVectorTy() && in getPointerTypeSizeInBits()
727 Ty = Ty->getScalarType(); in getPointerTypeSizeInBits()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp49 static void executeFNegInst(GenericValue &Dest, GenericValue Src, Type *Ty) { in executeFNegInst() argument
50 switch (Ty->getTypeID()) { in executeFNegInst()
64 Type *Ty = I.getOperand(0)->getType(); in visitUnaryOperator() local
69 if (Ty->isVectorTy()) { in visitUnaryOperator()
77 if (cast<VectorType>(Ty)->getElementType()->isFloatTy()) { in visitUnaryOperator()
80 } else if (cast<VectorType>(Ty)->getElementType()->isDoubleTy()) { in visitUnaryOperator()
93 case Instruction::FNeg: executeFNegInst(R, Src, Ty); break; in visitUnaryOperator()
109 GenericValue Src2, Type *Ty) { in executeFAddInst() argument
110 switch (Ty->getTypeID()) { in executeFAddInst()
114 dbgs() << "Unhandled type for FAdd instruction: " << *Ty << "\n"; in executeFAddInst()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DDataLayout.h192 Align getAlignment(Type *Ty, bool abi_or_pref) const;
405 bool isNonIntegralPointerType(Type *Ty) const { in isNonIntegralPointerType() argument
406 auto *PTy = dyn_cast<PointerType>(Ty); in isNonIntegralPointerType()
436 unsigned getIndexTypeSizeInBits(Type *Ty) const;
438 unsigned getPointerTypeSize(Type *Ty) const { in getPointerTypeSize() argument
439 return getPointerTypeSizeInBits(Ty) / 8; in getPointerTypeSize()
466 TypeSize getTypeSizeInBits(Type *Ty) const;
475 TypeSize getTypeStoreSize(Type *Ty) const { in getTypeStoreSize() argument
476 TypeSize BaseSize = getTypeSizeInBits(Ty); in getTypeStoreSize()
487 TypeSize getTypeStoreSizeInBits(Type *Ty) const { in getTypeStoreSizeInBits() argument
[all …]
DConstants.h58 explicit ConstantData(Type *Ty, ValueTy VT) : Constant(Ty, VT, nullptr, 0) {} in ConstantData() argument
83 ConstantInt(IntegerType *Ty, const APInt &V);
93 static Constant *getTrue(Type *Ty);
94 static Constant *getFalse(Type *Ty);
95 static Constant *getBool(Type *Ty, bool V);
99 static Constant *get(Type *Ty, uint64_t V, bool IsSigned = false);
107 static ConstantInt *get(IntegerType *Ty, uint64_t V, bool IsSigned = false);
114 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
115 static Constant *getSigned(Type *Ty, int64_t V);
123 static ConstantInt *get(IntegerType *Ty, StringRef Str, uint8_t Radix);
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/Mips/
DMipsISelLowering.h286 bool isCheapToSpeculateCttz(Type *Ty) const override;
287 bool isCheapToSpeculateCtlz(Type *Ty) const override;
375 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const;
382 SDValue getAddrLocal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG, in getAddrLocal() argument
385 SDValue GOT = DAG.getNode(MipsISD::Wrapper, DL, Ty, getGlobalReg(DAG, Ty), in getAddrLocal()
386 getTargetNode(N, Ty, DAG, GOTFlag)); in getAddrLocal()
388 DAG.getLoad(Ty, DL, DAG.getEntryNode(), GOT, in getAddrLocal()
391 SDValue Lo = DAG.getNode(MipsISD::Lo, DL, Ty, in getAddrLocal()
392 getTargetNode(N, Ty, DAG, LoFlag)); in getAddrLocal()
393 return DAG.getNode(ISD::ADD, DL, Ty, Load, Lo); in getAddrLocal()
[all …]
DMipsCCState.cpp39 bool MipsCCState::originalTypeIsF128(const Type *Ty, const char *Func) { in originalTypeIsF128() argument
40 if (Ty->isFP128Ty()) in originalTypeIsF128()
43 if (Ty->isStructTy() && Ty->getStructNumElements() == 1 && in originalTypeIsF128()
44 Ty->getStructElementType(0)->isFP128Ty()) in originalTypeIsF128()
50 return (Func && Ty->isIntegerTy(128) && isF128SoftLibCall(Func)); in originalTypeIsF128()
54 bool MipsCCState::originalEVTTypeIsVectorFloat(EVT Ty) { in originalEVTTypeIsVectorFloat() argument
55 if (Ty.isVector() && Ty.getVectorElementType().isFloatingPoint()) in originalEVTTypeIsVectorFloat()
62 bool MipsCCState::originalTypeIsVectorFloat(const Type *Ty) { in originalTypeIsVectorFloat() argument
63 if (Ty->isVectorTy() && Ty->isFPOrFPVectorTy()) in originalTypeIsVectorFloat()
150 OriginalArgWasF128.push_back(originalTypeIsF128(FuncArg.Ty, Func)); in PreAnalyzeCallOperands()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DConstantFolding.cpp698 Constant *llvm::ConstantFoldLoadFromConst(Constant *C, Type *Ty, in ConstantFoldLoadFromConst() argument
702 if (Constant *Result = ConstantFoldLoadThroughBitcast(AtOffset, Ty, DL)) in ConstantFoldLoadFromConst()
709 return PoisonValue::get(Ty); in ConstantFoldLoadFromConst()
712 if (Constant *Result = ConstantFoldLoadFromUniformValue(C, Ty)) in ConstantFoldLoadFromConst()
718 FoldReinterpretLoadFromConst(C, Ty, Offset.getSExtValue(), DL)) in ConstantFoldLoadFromConst()
724 Constant *llvm::ConstantFoldLoadFromConst(Constant *C, Type *Ty, in ConstantFoldLoadFromConst() argument
726 return ConstantFoldLoadFromConst(C, Ty, APInt(64, 0), DL); in ConstantFoldLoadFromConst()
729 Constant *llvm::ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, in ConstantFoldLoadFromConstPtr() argument
737 if (Constant *Result = ConstantFoldLoadFromConst(GV->getInitializer(), Ty, in ConstantFoldLoadFromConstPtr()
746 ConstantFoldLoadFromUniformValue(GV->getInitializer(), Ty)) in ConstantFoldLoadFromConstPtr()
[all …]
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DNonnullGlobalConstantsChecker.cpp53 bool isNonnullType(QualType Ty) const;
107 QualType Ty = Decl->getType(); in isGlobalConstString() local
108 bool HasConst = Ty.isConstQualified(); in isGlobalConstString()
109 if (isNonnullType(Ty) && HasConst) in isGlobalConstString()
113 while (const Type *T = Ty.getTypePtr()) { in isGlobalConstString()
117 Ty = AT->getModifiedType(); in isGlobalConstString()
122 Ty = TT->getDecl()->getUnderlyingType(); in isGlobalConstString()
125 HasConst = HasConst || Ty.isConstQualified(); in isGlobalConstString()
126 if (isNonnullType(Ty) && HasConst) in isGlobalConstString()
136 bool NonnullGlobalConstantsChecker::isNonnullType(QualType Ty) const { in isNonnullType()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp284 if (const auto *Ty = dyn_cast<DICompositeType>(Scope)) in collectParentScopeNames() local
285 DeferredCompleteTypes.push_back(Ty); in collectParentScopeNames()
330 std::string CodeViewDebug::getFullyQualifiedName(const DIScope *Ty) { in getFullyQualifiedName() argument
331 const DIScope *Scope = Ty->getScope(); in getFullyQualifiedName()
332 return getFullyQualifiedName(Scope, getPrettyScopeName(Ty)); in getFullyQualifiedName()
420 getFunctionOptions(const DISubroutineType *Ty, in getFunctionOptions() argument
425 if (auto TypeArray = Ty->getTypeArray()) { in getFunctionOptions()
1602 void CodeViewDebug::addToUDTs(const DIType *Ty) { in addToUDTs() argument
1604 if (Ty->getName().empty()) in addToUDTs()
1606 if (!shouldEmitUdt(Ty)) in addToUDTs()
[all …]
DCodeViewDebug.h397 codeview::TypeIndex getTypeIndex(const DIType *Ty,
404 codeview::TypeIndex getTypeIndexForReferenceTo(const DIType *Ty);
413 void addToUDTs(const DIType *Ty);
415 void addUDTSrcLine(const DIType *Ty, codeview::TypeIndex TI);
417 codeview::TypeIndex lowerType(const DIType *Ty, const DIType *ClassTy);
418 codeview::TypeIndex lowerTypeAlias(const DIDerivedType *Ty);
419 codeview::TypeIndex lowerTypeArray(const DICompositeType *Ty);
420 codeview::TypeIndex lowerTypeString(const DIStringType *Ty);
421 codeview::TypeIndex lowerTypeBasic(const DIBasicType *Ty);
423 const DIDerivedType *Ty,
[all …]
/openbsd/src/gnu/llvm/clang/lib/Analysis/
DBodyFarm.cpp37 static bool isDispatchBlock(QualType Ty) { in isDispatchBlock() argument
39 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>(); in isDispatchBlock()
56 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty);
70 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty);
73 Expr *makeIntegralCast(const Expr *Arg, QualType Ty);
79 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty);
88 ImplicitCastExpr *makeImplicitCast(const Expr *Arg, QualType Ty,
92 CastExpr *makeReferenceCast(const Expr *Arg, QualType Ty);
104 IntegerLiteral *makeIntegerLiteral(uint64_t Value, QualType Ty);
121 QualType Ty) { in makeAssignment() argument
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/
DTarget.cpp101 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMSizeOfTypeInBits() argument
102 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); in LLVMSizeOfTypeInBits()
105 unsigned long long LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMStoreSizeOfType() argument
106 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); in LLVMStoreSizeOfType()
109 unsigned long long LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABISizeOfType() argument
110 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
113 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMABIAlignmentOfType() argument
114 return unwrap(TD)->getABITypeAlign(unwrap(Ty)).value(); in LLVMABIAlignmentOfType()
117 unsigned LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) { in LLVMCallFrameAlignmentOfType() argument
118 return unwrap(TD)->getABITypeAlign(unwrap(Ty)).value(); in LLVMCallFrameAlignmentOfType()
[all …]
/openbsd/src/gnu/llvm/clang/lib/AST/
DASTImporterLookupTable.cpp28 QualType Ty = D->getUnderlyingType(); in VisitTypedefNameDecl() local
29 Ty = Ty.getCanonicalType(); in VisitTypedefNameDecl()
30 if (const auto *RTy = dyn_cast<RecordType>(Ty)) { in VisitTypedefNameDecl()
51 QualType Ty = D->getFriendType()->getType(); in VisitFriendDecl() local
52 if (isa<ElaboratedType>(Ty)) in VisitFriendDecl()
53 Ty = cast<ElaboratedType>(Ty)->getNamedType(); in VisitFriendDecl()
58 if (!Ty->isDependentType()) { in VisitFriendDecl()
59 if (const auto *RTy = dyn_cast<RecordType>(Ty)) in VisitFriendDecl()
61 else if (const auto *SpecTy = dyn_cast<TemplateSpecializationType>(Ty)) in VisitFriendDecl()
64 dyn_cast<SubstTemplateTypeParmType>(Ty)) { in VisitFriendDecl()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/Lanai/
DLanaiTargetTransformInfo.h52 InstructionCost getIntImmCost(const APInt &Imm, Type *Ty, in getIntImmCost() argument
54 assert(Ty->isIntegerTy()); in getIntImmCost()
55 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
81 const APInt &Imm, Type *Ty,
84 return getIntImmCost(Imm, Ty, CostKind);
88 const APInt &Imm, Type *Ty, in getIntImmCostIntrin() argument
90 return getIntImmCost(Imm, Ty, CostKind); in getIntImmCostIntrin()
94 unsigned Opcode, Type *Ty, TTI::TargetCostKind CostKind,
103 return BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info,
114 return 64 * BaseT::getArithmeticInstrCost(Opcode, Ty, CostKind, Op1Info,
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h60 bool isWideningInstruction(Type *Ty, unsigned Opcode,
84 InstructionCost getIntImmCost(const APInt &Imm, Type *Ty,
87 const APInt &Imm, Type *Ty,
91 const APInt &Imm, Type *Ty,
179 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
190 unsigned Opcode, Type *Ty, TTI::TargetCostKind CostKind,
196 InstructionCost getAddressComputationCost(Type *Ty, ScalarEvolution *SE,
206 bool useNeonVector(const Type *Ty) const;
228 bool isElementTypeLegalForScalableVector(Type *Ty) const { in isElementTypeLegalForScalableVector() argument
229 if (Ty->isPointerTy()) in isElementTypeLegalForScalableVector()
[all …]
/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DReduceOperands.cpp65 Type *Ty = Op->getType(); in shouldReduceOperand() local
66 if (Ty->isLabelTy() || Ty->isMetadataTy()) in shouldReduceOperand()
91 Type *Ty = Op->getType(); in reduceOperandsOneDeltaPass() local
92 if (auto *IntTy = dyn_cast<IntegerType>(Ty)) { in reduceOperandsOneDeltaPass()
100 if (Ty->isFloatingPointTy()) in reduceOperandsOneDeltaPass()
101 return isZeroOrOneFP(Op) ? nullptr : ConstantFP::get(Ty, 1.0); in reduceOperandsOneDeltaPass()
103 if (VectorType *VT = dyn_cast<VectorType>(Ty)) { in reduceOperandsOneDeltaPass()
150 Type *Ty = Op->getType(); in reduceOperandsNaNDeltaPass() local
151 if (!Ty->isFPOrFPVectorTy()) in reduceOperandsNaNDeltaPass()
161 if (VectorType *VT = dyn_cast<VectorType>(Ty)) { in reduceOperandsNaNDeltaPass()
[all …]

12345678910>>...31