/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalityPredicates.cpp | 67 LegalityPredicate LegalityPredicates::isScalar(unsigned TypeIdx) { in isScalar() function in LegalityPredicates 69 return Query.Types[TypeIdx].isScalar(); in isScalar() 105 return QueryTy.isScalar() && QueryTy.getSizeInBits() < Size; in scalarNarrowerThan() 113 return QueryTy.isScalar() && QueryTy.getSizeInBits() > Size; in scalarWiderThan() 160 return QueryTy.isScalar() && QueryTy.getSizeInBits() % Size != 0; in sizeNotMultipleOf() 167 return QueryTy.isScalar() && in sizeNotPow2()
|
H A D | MachineIRBuilder.cpp | 185 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateUnaryOp() 191 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateBinaryOp() 197 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateShiftOp() 206 assert(Op1.getLLTTy(*getMRI()).getScalarType().isScalar() && "invalid offset type"); in buildPtrAdd() 215 assert(ValueTy.isScalar() && "invalid offset type"); in materializePtrAdd() 275 assert(((ResTy.isScalar() && (ResTy == Op0Ty.getElementType())) || in buildDeleteTrailingVectorElements() 280 (ResTy.isScalar() || (ResTy.getNumElements() < Op0Ty.getNumElements())) && in buildDeleteTrailingVectorElements() 284 if (ResTy.isScalar()) in buildDeleteTrailingVectorElements() 415 assert(Tst.getLLTTy(*getMRI()).isScalar() && "invalid operand type"); in buildBrCond() 553 assert(Res.getLLTTy(*getMRI()).isScalar() || in buildExtOrTrunc() [all …]
|
H A D | LegacyLegalizerInfo.cpp | 204 if (Aspect.Type.isScalar() || Aspect.Type.isPointer()) in getAspectAction() 304 assert(Aspect.Type.isScalar() || Aspect.Type.isPointer()); in findScalarLegalAction() 326 Aspect.Type.isScalar() ? LLT::scalar(SizeAndAction.first) in findScalarLegalAction()
|
H A D | CallLowering.cpp | 628 if (SrcTy.isScalar() && DstTy.isScalar()) { in buildCopyToRegs() 1301 if (LocTy.isScalar() && MaxSizeBits && MaxSizeBits < LocTy.getSizeInBits()) { in extendRegister() 1380 return (SrcTy.isPointer() && DstTy.isScalar()) || in isCopyCompatibleType() 1381 (DstTy.isPointer() && SrcTy.isScalar()); in isCopyCompatibleType()
|
H A D | InlineAsmLowering.cpp | 203 if (!SrcTy.isScalar()) { in buildAnyextOrCopy() 587 if (ResTy.isScalar() && ResTy.getSizeInBits() < SrcSize) { in lowerInlineAsm()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/ |
H A D | LowLevelType.h | 65 assert(!EC.isScalar() && "invalid number of vector elements"); in vector() 72 assert(!EC.isScalar() && "invalid number of vector elements"); in vector() 125 return EC.isScalar() ? ScalarTy : LLT::vector(EC, ScalarTy); in scalarOrVector() 134 explicit constexpr LLT(bool isPointer, bool isVector, bool isScalar, in LLT() argument 138 init(isPointer, isVector, isScalar, EC, SizeInBits, AddressSpace); in LLT() 146 constexpr bool isScalar() const { return IsScalar; } in isScalar() function 194 if (isPointer() || isScalar()) in getSizeInBits() 239 assert((!isScalar() || getScalarSizeInBits() != 0) && in divide()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LowLevelTypeUtils.cpp | 24 if (EC.isScalar()) in getLLTForType() 76 assert(Ty.isScalar() && "Expected a scalar type."); in getFltSemanticForLLT()
|
H A D | CodeGenCommonISel.cpp | 226 if (!FromLLT.isScalar()) { in getSalvageOpsForTrunc()
|
H A D | MachineVerifier.cpp | 984 return !MRI.getType(Reg).isScalar(); in verifyAllRegOpsScalar() 1362 if (!MaskTy.getScalarType().isScalar()) in verifyPreISelGenericInstruction() 1838 if (!SrcTy.isScalar()) { in verifyPreISelGenericInstruction() 1858 if (!DstTy.isScalar() && !DstTy.isPointer()) { in verifyPreISelGenericInstruction() 1893 if (!ScaTy.isScalar() && !ScaTy.isPointer()) { in verifyPreISelGenericInstruction() 1917 if (!AllocOp.isReg() || !MRI->getType(AllocOp.getReg()).isScalar()) { in verifyPreISelGenericInstruction() 2010 if (!DstTy.isScalar()) in verifyPreISelGenericInstruction() 2012 if (!Src1Ty.isScalar()) in verifyPreISelGenericInstruction() 2034 if (!DstTy.isScalar()) in verifyPreISelGenericInstruction() 2071 if (!DestEltTy.isScalar()) { in verifyPreISelGenericInstruction() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Support/ |
H A D | RISCVVIntrinsicUtils.cpp | 110 if (isScalar()) in verifyType() 213 if (isScalar()) { in initBuiltinStr() 266 if (isScalar()) in initTypeStr() 292 if (isScalar()) in initTypeStr() 300 if (isScalar()) { in initTypeStr() 313 if (isScalar()) { in initTypeStr()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGenTypes/ |
H A D | LowLevelType.cpp | 45 assert(isScalar() && "unexpected type"); in print()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGGPUBuiltin.cpp | 131 return !A.getRValue(*CGF).isScalar(); in containsNonScalarVarargs() 198 if (!A.getRValue(*this).isScalar()) { in EmitAMDGPUDevicePrintfCallExpr()
|
H A D | CGValue.h | 64 bool isScalar() const { return Flavor == Scalar; } 72 assert(isScalar() && "Not a scalar!");
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64LegalizerInfo.cpp | 396 return Query.Types[0].isScalar() && in AArch64LegalizerInfo() 432 return Query.Types[0].isScalar() && in AArch64LegalizerInfo() 1081 return SrcTy.isScalar() && SrcTy.getSizeInBits() < 128; in AArch64LegalizerInfo() 1192 if (SrcTy.isScalar()) in AArch64LegalizerInfo() 1216 return Q.Types[0].isScalar() && Q.Types[1].getScalarSizeInBits() < 64; in AArch64LegalizerInfo() 1273 [](const LegalityQuery &Query) { return Query.Types[0].isScalar(); }, in AArch64LegalizerInfo() 1443 assert(AmtTy.isScalar() && "Expected a scalar rotate"); in legalizeRotate() 1626 if (DstTy.isScalar() && DstTy.getScalarSizeInBits() <= 32) { in legalizeIntrinsic() 1910 if (ST->hasCSSC() && Ty.isScalar() && Size == 128) { in legalizeCTPOP() 1926 return Ty.isScalar() && (Size == 32 || Size == 64) && in legalizeCTPOP() [all …]
|
H A D | AArch64PreLegalizerCombiner.cpp | 86 if (!LHSTy.isScalar()) in matchICmpRedundantTrunc() 664 if (!WideTy0.isScalar() || !WideTy1.isScalar() || WideTy0 != WideTy1 || in tryToSimplifyUADDO()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.h | 282 LegalityPredicate isScalar(unsigned TypeIdx); 926 return actionIf(LegalizeAction::NarrowScalar, isScalar(typeIdx(TypeIdx)), in narrowScalar() 1003 return QueryTy.isScalar() && in minScalarIf() 1039 return QueryTy.isScalar() && in maxScalarIf() 1049 assert(MinTy.isScalar() && MaxTy.isScalar() && "Expected scalar types"); in clampScalar()
|
H A D | LegalizationArtifactCombiner.h | 292 if (!DstTy.isScalar() || !MergeSrcTy.isScalar()) in tryCombineTrunc() 471 if (CastSrcTy.isScalar() && SrcTy.isScalar() && !DestTy.isVector()) { in tryFoldUnmergeCast() 789 if (!SrcType.isScalar()) in findValueFromExt() 814 if (!SrcType.isScalar()) in findValueFromTrunc()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86RegisterBankInfo.cpp |
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 187 bool isScalar() const { return isValue() && NumVectors == 0; } in isScalar() function in __anonfaf0748f0111::Type 403 (Type.isScalar() && Type.isHalf())) in Intrinsic() 688 if (isScalar()) in builtin_str() 997 if ((LocalCK == ClassI || LocalCK == ClassW) && RetT.isScalar() && in getBuiltinTypeStr() 1010 if (!RetT.isScalar() && RetT.isInteger() && !RetT.isSigned()) in getBuiltinTypeStr() 1013 if (LocalCK == ClassB && RetT.isValue() && !RetT.isScalar()) in getBuiltinTypeStr() 1025 if (LocalCK == ClassB && !T.isScalar()) in getBuiltinTypeStr() 1289 Types, [](const Type &T) { return T.isScalar() && !T.isImmediate(); }); in protoHasScalar() 1682 assert_with_loc(A.first.isScalar(), "dup() expects a scalar argument"); in emitDagDup() 1701 assert_with_loc(B.first.isScalar(), in emitDagDupTyped() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 1140 if (VF.isScalar()) in isUniformAfterVectorization() 1154 if (VF.isScalar()) in isScalarAfterVectorization() 1247 assert(!VF.isScalar() && "Expected vector VF"); in setCallWideningDecision() 1254 assert(!VF.isScalar() && "Expected vector VF"); in getCallWideningDecision() 1296 if (VF.isScalar() || Uniforms.contains(VF)) in collectUniformsAndScalars() 1732 if (VF.isScalar() || !I || !TheLoop->contains(I) || in needsExtract() 2893 if (!VF.isScalar()) in getVectorCallCost() 2918 if (VF.isScalar() || (!Elt->isIntOrPtrTy() && !Elt->isFloatingPointTy())) in MaybeVectorizeType() 3316 if (VF.isScalar()) in isScalarWithPredication() 4540 if (VF.isScalar()) in selectVectorizationFactor() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600TargetTransformInfo.cpp | 88 if (VF.isScalar()) in getMaxInterleaveFactor()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86RegisterBankInfo.cpp | 176 if ((Ty.isScalar() && !isFP) || Ty.isPointer()) { in getPartialMappingIdx() 193 } else if (Ty.isScalar()) { in getPartialMappingIdx()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | DependenceAnalysis.h | 185 /// isScalar - Returns true if a particular level is scalar; that is, 188 virtual bool isScalar(unsigned Level) const; 278 /// isScalar - Returns true if a particular level is scalar; that is, 281 bool isScalar(unsigned Level) const override;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsInstructionSelector.cpp | 126 assert((Ty.isScalar() || Ty.isPointer()) && TySize == 32 && in getRegClassForTypeOnBank() 132 if (Ty.isScalar()) { in getRegClassForTypeOnBank() 193 assert(((Ty.isScalar() && TySize == 32) || in selectLoadStoreOpCode() 223 if (Ty.isScalar()) { in selectLoadStoreOpCode()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
H A D | GlobalISelMatchTable.cpp | 351 if (Ty.isScalar()) { in emitCxxEnumValue() 371 if (Ty.isScalar()) { in emitCxxConstructorCall() 402 if (Ty.isScalar() != Other.Ty.isScalar()) in operator <() 403 return Ty.isScalar() < Other.Ty.isScalar(); in operator <() 432 if (VT.isVector() && !VT.getVectorElementCount().isScalar()) in MVTToLLT()
|