Home
last modified time | relevance | path

Searched refs:IsVector (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DVTEmitter.cpp33 bool IsVector = VT->getValueAsBit("isVector"); in VTtoGetLLVMTyString() local
34 if (IsVector) in VTtoGetLLVMTyString()
38 auto OutputVT = IsVector ? VT->getValueAsDef("ElementType") : VT; in VTtoGetLLVMTyString()
75 if (IsVector) in VTtoGetLLVMTyString()
120 bool IsVector = VT->getValueAsBit("isVector"); in run() local
123 int64_t NElem = IsVector ? VT->getValueAsInt("nElem") : 0; in run()
124 StringRef EltName = IsVector ? VT->getValueAsDef("ElementType")->getName() in run()
128 IsInteger && IsVector && !IsScalable); in run()
132 IsFP && IsVector && !IsScalable); in run()
134 UpdateVTRange("FIXEDLEN_VECTOR_VALUETYPE", Name, IsVector && !IsScalable); in run()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h141 : IsScalar(false), IsPointer(false), IsVector(false), RawData(0) {} in LLT()
148 constexpr bool isVector() const { return isValid() && IsVector; } in isVector()
150 return isValid() && IsPointer && !IsVector; in isPointer()
185 assert(IsVector && "cannot get number of elements on scalar/aggregate"); in getElementCount()
270 if (IsVector) { in getScalarSizeInBits()
283 if (!IsVector) in getAddressSpace()
305 return IsPointer == RHS.IsPointer && IsVector == RHS.IsVector &&
396 uint64_t IsVector : 1;
417 constexpr void init(bool IsPointer, bool IsVector, bool IsScalar,
423 this->IsVector = IsVector;
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp269 bool IsVector = false; in EmitVAArg() local
281 IsVector = ArgTy->isVectorTy(); in EmitVAArg()
286 if (IsVector && UnpaddedSize > PaddedSize) in EmitVAArg()
296 if (IsVector) { in EmitVAArg()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h530 bool isConstTrueVal(const TargetLowering &TLI, int64_t Val, bool IsVector,
534 bool isConstFalseVal(const TargetLowering &TLI, int64_t Val, bool IsVector,
539 int64_t getICmpTrueVal(const TargetLowering &TLI, bool IsVector, bool IsFP);
H A DMachineIRBuilder.h734 bool IsVector,
/freebsd/contrib/llvm-project/llvm/lib/CodeGenTypes/
H A DLowLevelType.cpp33 IsVector = false; in LLT()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ExpandSpecialInstrs.cpp164 bool IsVector = TII->isVector(MI); in runOnMachineFunction() local
166 if (!IsReduction && !IsVector && !IsCube) { in runOnMachineFunction()
H A DAMDGPUInstructionSelector.cpp650 const bool IsVector = DstBank->getID() == AMDGPU::VGPRRegBankID; in selectG_BUILD_VECTOR() local
670 if (IsVector) { in selectG_BUILD_VECTOR()
694 IsVector ? AMDGPU::VGPR_32RegClass : AMDGPU::SReg_32RegClass; in selectG_BUILD_VECTOR()
700 if (IsVector) { in selectG_BUILD_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp1390 const SmallVectorImpl<unsigned> &RegList, bool IsVector, in collectHWRegs() argument
1399 assert(Reg < (IsVector ? 32U : 16U) && "Register out of range"); in collectHWRegs()
1413 bool IsVector) { in emitRegSave() argument
1426 std::tie(Idx, Count) = collectHWRegs(MRI, Idx, RegList, IsVector, Mask); in emitRegSave()
1432 SPOffset -= Count * (IsVector ? 8 : 4); in emitRegSave()
1436 if (IsVector) in emitRegSave()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1593 bool llvm::isConstTrueVal(const TargetLowering &TLI, int64_t Val, bool IsVector, in isConstTrueVal() argument
1595 switch (TLI.getBooleanContents(IsVector, IsFP)) { in isConstTrueVal()
1607 bool IsVector, bool IsFP) { in isConstFalseVal() argument
1608 switch (TLI.getBooleanContents(IsVector, IsFP)) { in isConstFalseVal()
1618 int64_t llvm::getICmpTrueVal(const TargetLowering &TLI, bool IsVector, in getICmpTrueVal() argument
1620 switch (TLI.getBooleanContents(IsVector, IsFP)) { in getICmpTrueVal()
H A DMachineIRBuilder.cpp532 bool IsVector, in buildBoolExtInReg() argument
535 switch (TLI->getBooleanContents(IsVector, IsFP)) { in buildBoolExtInReg()
H A DCombinerHelper.cpp3388 int64_t Cst, bool IsVector, bool IsFP) { in isConstValidTrue() argument
3391 isConstTrueVal(TLI, Cst, IsVector, IsFP); in isConstValidTrue()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h463 bool parseArrayVectorType(Type *&Result, bool IsVector);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp2069 bool IsVector = true) { in MaybeConvertMatrixAddress() argument
2071 if (ArrayTy && IsVector) { in MaybeConvertMatrixAddress()
2078 if (VectorTy && !IsVector) { in MaybeConvertMatrixAddress()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3436 bool LLParser::parseArrayVectorType(Type *&Result, bool IsVector) { in parseArrayVectorType() argument
3439 if (IsVector && Lex.getKind() == lltok::kw_vscale) { in parseArrayVectorType()
3463 if (parseToken(IsVector ? lltok::greater : lltok::rsquare, in parseArrayVectorType()
3467 if (IsVector) { in parseArrayVectorType()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp476 bool parseDirectiveRegSave(SMLoc L, bool IsVector);
12159 bool ARMAsmParser::parseDirectiveRegSave(SMLoc L, bool IsVector) { in parseDirectiveRegSave() argument
12173 if (!IsVector && !Op.isRegList()) in parseDirectiveRegSave()
12175 if (IsVector && !Op.isDPRRegList()) in parseDirectiveRegSave()
12178 getTargetStreamer().emitRegSave(Op.getRegList(), IsVector); in parseDirectiveRegSave()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h754 bool skipCostComputation(Instruction *UI, bool IsVector) const;
H A DLoopVectorize.cpp6957 bool VPCostContext::skipCostComputation(Instruction *UI, bool IsVector) const { in skipCostComputation()
6959 (IsVector && CM.VecValuesToIgnore.contains(UI)) || in skipCostComputation()