Home
last modified time | relevance | path

Searched refs:Tp (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp217 Constant *getRandomConstant(Type *Tp) { in getRandomConstant()
218 if (Tp->isIntegerTy()) { in getRandomConstant()
220 return ConstantInt::getAllOnesValue(Tp); in getRandomConstant()
221 return ConstantInt::getNullValue(Tp); in getRandomConstant()
222 } else if (Tp->isFloatingPointTy()) { in getRandomConstant()
224 return ConstantFP::getAllOnesValue(Tp); in getRandomConstant()
225 return ConstantFP::getZero(Tp); in getRandomConstant()
227 return UndefValue::get(Tp); in getRandomConstant()
231 Value *getRandomValue(Type *Tp) { in getRandomValue()
235 if (V->getType() == Tp) in getRandomValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp1037 Value *RecurrenceDescriptor::getRecurrenceIdentity(RecurKind K, Type *Tp, in getRecurrenceIdentity() argument
1044 return ConstantInt::get(Tp, 0); in getRecurrenceIdentity()
1047 return ConstantInt::get(Tp, 1); in getRecurrenceIdentity()
1050 return ConstantInt::get(Tp, -1, true); in getRecurrenceIdentity()
1053 return ConstantFP::get(Tp, 1.0L); in getRecurrenceIdentity()
1063 return ConstantFP::get(Tp, 0.0L); in getRecurrenceIdentity()
1064 return ConstantFP::get(Tp, -0.0L); in getRecurrenceIdentity()
1066 return ConstantInt::get(Tp, -1, true); in getRecurrenceIdentity()
1068 return ConstantInt::get(Tp, 0); in getRecurrenceIdentity()
1070 return ConstantInt::get(Tp, in getRecurrenceIdentity()
[all …]
H A DTargetTransformInfo.cpp1127 unsigned TargetTransformInfo::getNumberOfParts(Type *Tp) const { in getNumberOfParts()
1128 return TTIImpl->getNumberOfParts(Tp); in getNumberOfParts()
1132 TargetTransformInfo::getAddressComputationCost(Type *Tp, ScalarEvolution *SE, in getAddressComputationCost() argument
1134 InstructionCost Cost = TTIImpl->getAddressComputationCost(Tp, SE, Ptr); in getAddressComputationCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h111 InstructionCost getAddressComputationCost(Type *Tp, ScalarEvolution *SE,
121 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, Type *Tp,
H A DHexagonTargetTransformInfo.cpp158 InstructionCost HexagonTTIImpl::getAddressComputationCost(Type *Tp, in getAddressComputationCost() argument
229 InstructionCost HexagonTTIImpl::getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, in getShuffleCost() argument
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp498 const Type *Tp = ConversionDec->getConversionType().getTypePtrOrNull(); in isMoveSafeMethod() local
499 if (!Tp) in isMoveSafeMethod()
501 if (Tp->isBooleanType() || Tp->isVoidType() || Tp->isVoidPointerType()) in isMoveSafeMethod()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp357 VectorType *Tp, ArrayRef<int> Mask, in getShuffleCost() argument
362 Kind = improveShuffleKindFromMask(Kind, Mask, Tp, Index, SubTp); in getShuffleCost()
364 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost()
369 if (isa<FixedVectorType>(Tp)) { in getShuffleCost()
403 VectorType *IdxTy = getVRGatherIndexType(LT.second, *ST, Tp->getContext()); in getShuffleCost()
418 auto &C = Tp->getContext(); in getShuffleCost()
419 auto EC = Tp->getElementCount(); in getShuffleCost()
438 Tp->getElementType()->getPrimitiveSizeInBits() && in getShuffleCost()
440 cast<FixedVectorType>(Tp)->getNumElements() && in getShuffleCost()
442 cast<FixedVectorType>(Tp)->getNumElements()) == in getShuffleCost()
[all …]
/freebsd/tests/sys/net/if_ovpn/
H A Dclient.key16 kSDTsNIYU8IRvtfz9F0SKWJthjXVm/vliPeKmQ0Gb1EKn2fitqHv77WTwoo6V/Tp
/freebsd/contrib/llvm-project/libcxx/include/
H A Dmemory_resource27 template <class Tp> class polymorphic_allocator;
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp607 TTI::ShuffleKind Kind, VectorType *Tp, ArrayRef<int> Mask, in getShuffleCost() argument
610 Kind = improveShuffleKindFromMask(Kind, Mask, Tp, Index, SubTp); in getShuffleCost()
612 unsigned NumVectors = getNumVectorRegs(Tp); in getShuffleCost()
619 if (Tp->getScalarType()->isFP128Ty()) in getShuffleCost()
643 return BaseT::getShuffleCost(Kind, Tp, Mask, CostKind, Index, SubTp); in getShuffleCost()
H A DSystemZTargetTransformInfo.h94 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h200 InstructionCost getSpliceCost(VectorType *Tp, int Index);
398 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
H A DAArch64TargetTransformInfo.cpp3975 InstructionCost AArch64TTIImpl::getSpliceCost(VectorType *Tp, int Index) { in getSpliceCost() argument
3996 if (Tp->getElementCount() == ElementCount::getScalable(1)) in getSpliceCost()
3999 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getSpliceCost()
4000 Type *LegalVTy = EVT(LT.second).getTypeForEVT(Tp->getContext()); in getSpliceCost()
4005 Type *PromotedVTy = EVT(PromotedVT).getTypeForEVT(Tp->getContext()); in getSpliceCost()
4032 TTI::ShuffleKind Kind, VectorType *Tp, ArrayRef<int> Mask, in getShuffleCost() argument
4035 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost()
4039 if (!Mask.empty() && isa<FixedVectorType>(Tp) && LT.second.isVector() && in getShuffleCost()
4040 Tp->getScalarSizeInBits() == LT.second.getScalarSizeInBits() && in getShuffleCost()
4058 Mask, 4, Tp->getElementCount().getKnownMinValue() * 2) || in getShuffleCost()
[all …]
/freebsd/contrib/openpam/
H A Dcompile209 set x "$@" -Tp"$file"
/freebsd/contrib/ntp/sntp/libevent/build-aux/
H A Dcompile209 set x "$@" -Tp"$file"
/freebsd/contrib/ntp/sntp/libevent/
H A Dcompile209 set x "$@" -Tp"$file"
/freebsd/contrib/file/
H A Dcompile209 set x "$@" -Tp"$file"
/freebsd/contrib/libevent/build-aux/
H A Dcompile209 set x "$@" -Tp"$file"
/freebsd/contrib/sqlite3/
H A Dcompile209 set x "$@" -Tp"$file"
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1313 ShuffleKind Kind, VectorType *Tp, ArrayRef<int> Mask = std::nullopt,
1550 unsigned getNumberOfParts(Type *Tp) const;
2045 getShuffleCost(ShuffleKind Kind, VectorType *Tp, ArrayRef<int> Mask,
2124 virtual unsigned getNumberOfParts(Type *Tp) = 0;
2693 InstructionCost getShuffleCost(ShuffleKind Kind, VectorType *Tp, in getShuffleCost() argument
2699 return Impl.getShuffleCost(Kind, Tp, Mask, CostKind, Index, SubTp, Args, in getShuffleCost()
2818 unsigned getNumberOfParts(Type *Tp) override { in getNumberOfParts() argument
2819 return Impl.getNumberOfParts(Tp); in getNumberOfParts()
H A DIVDescriptors.h160 Value *getRecurrenceIdentity(RecurKind K, Type *Tp, FastMathFlags FMF) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h111 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, Type *Tp,
H A DPPCTargetTransformInfo.cpp606 InstructionCost PPCTTIImpl::getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, in getShuffleCost() argument
614 vectorCostAdjustmentFactor(Instruction::ShuffleVector, Tp, nullptr); in getShuffleCost()
619 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1216 VectorType *Tp, ArrayRef<int> Mask, in getShuffleCost() argument
1221 Kind = improveShuffleKindFromMask(Kind, Mask, Tp, Index, SubTp); in getShuffleCost()
1242 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost()
1263 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost()
1287 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost()
1303 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost()
1311 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getShuffleCost()
1323 int BaseCost = ST->hasMVEIntegerOps() && Tp->isVectorTy() in getShuffleCost()
1327 BaseT::getShuffleCost(Kind, Tp, Mask, CostKind, Index, SubTp); in getShuffleCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1023 InstructionCost getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
1029 switch (improveShuffleKindFromMask(Kind, Mask, Tp, Index, SubTp)) {
1031 if (auto *FVT = dyn_cast<FixedVectorType>(Tp))
1040 if (auto *FVT = dyn_cast<FixedVectorType>(Tp))
1044 return getExtractSubvectorOverhead(Tp, CostKind, Index,
1047 return getInsertSubvectorOverhead(Tp, CostKind, Index,
2429 unsigned getNumberOfParts(Type *Tp) { in getNumberOfParts() argument
2430 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp); in getNumberOfParts()

12