Home
last modified time | relevance | path

Searched refs:getScalarType (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp306 if (CI->getArgOperand(0)->getType()->getScalarType()-> in mightUseCTR()
406 TLI->isOperationLegalOrCustom(Opcode, EVTy.getScalarType())) in mightUseCTR()
415 J->getType()->getScalarType()->isPPC_FP128Ty()) { in mightUseCTR()
421 if (CI->getSrcTy()->getScalarType()->isPPC_FP128Ty() || in mightUseCTR()
422 CI->getDestTy()->getScalarType()->isPPC_FP128Ty() || in mightUseCTR()
423 isLargeIntegerTy(!TM.isPPC64(), CI->getSrcTy()->getScalarType()) || in mightUseCTR()
424 isLargeIntegerTy(!TM.isPPC64(), CI->getDestTy()->getScalarType())) in mightUseCTR()
427 J->getType()->getScalarType()) && in mightUseCTR()
434 isLargeIntegerTy(false, J->getType()->getScalarType()) && in mightUseCTR()
597 else if (Ty && (Ty->getScalarType()->isFloatTy() || in getRegisterClassForType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h185 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
203 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
208 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy()
227 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
307 Type *getScalarType() const { in getScalarType() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp38 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()) != in canCoerceMustAliasedValueToLoad()
39 DL.isNonIntegralPointerType(LoadTy->getScalarType())) { in canCoerceMustAliasedValueToLoad()
228 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()) != in analyzeLoadFromClobberingStore()
229 DL.isNonIntegralPointerType(LoadTy->getScalarType())) { in analyzeLoadFromClobberingStore()
253 if (DL.isNonIntegralPointerType(DepLI->getType()->getScalarType()) != in analyzeLoadFromClobberingLoad()
254 DL.isNonIntegralPointerType(LoadTy->getScalarType())) in analyzeLoadFromClobberingLoad()
294 if (DL.isNonIntegralPointerType(LoadTy->getScalarType())) { in analyzeLoadFromClobberingMemInst()
324 if (DL.isNonIntegralPointerType(LoadTy->getScalarType())) in analyzeLoadFromClobberingMemInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h183 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy()
201 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
216 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
293 Type *getScalarType() const LLVM_READONLY;
/third_party/vk-gl-cts/framework/randomshaders/
DrsgExpression.hpp119 …cess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::… in getValue()
137 …cess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::… in getValue()
156 …cess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::… in getValue()
DrsgExecutionContext.cpp37 return ExecValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data); in getValue()
42 return ExecConstValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data); in getValue()
DrsgVariableType.cpp130 const VariableType& VariableType::getScalarType (Type baseType) in getScalarType() function in rsg::VariableType
190 return getScalarType(m_baseType); in getElementType()
DrsgExpression.cpp360 : m_value(VariableType::getScalarType(VariableType::TYPE_FLOAT)) in FloatLiteral()
381 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)); in FloatLiteral()
388 : m_value(VariableType::getScalarType(VariableType::TYPE_FLOAT)) in FloatLiteral()
393 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)); in FloatLiteral()
426 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)).asFloat(0)); in tokenize()
430 : m_value(VariableType::getScalarType(VariableType::TYPE_INT)) in IntLiteral()
448 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)); in IntLiteral()
480 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)).asInt(0)); in tokenize()
484 : m_value(VariableType::getScalarType(VariableType::TYPE_BOOL)) in BoolLiteral()
496 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)); in BoolLiteral()
[all …]
DrsgVariableType.hpp166 static const VariableType& getScalarType (Type baseType);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp329 DL.getTypeStoreSize(PtrATy->getScalarType()) != in isConsecutiveAccess()
330 DL.getTypeStoreSize(PtrBTy->getScalarType())) in isConsecutiveAccess()
759 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
806 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
995 VecTy = VectorType::get(StoreTy->getScalarType(), in vectorizeStoreChain()
1056 if (Extract->getType() != StoreTy->getScalarType()) in vectorizeStoreChain()
1057 Extract = Builder.CreateBitCast(Extract, StoreTy->getScalarType()); in vectorizeStoreChain()
1068 if (Extract->getType() != StoreTy->getScalarType()) in vectorizeStoreChain()
1070 Builder.CreateBitOrPointerCast(Extract, StoreTy->getScalarType()); in vectorizeStoreChain()
1145 VecTy = VectorType::get(LoadTy->getScalarType(), in vectorizeLoadChain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/
DOpDescriptor.h210 return V->getType() == Cur[0]->getType()->getScalarType(); in matchScalarOfFirstType()
214 return makeConstantsWithType(Cur[0]->getType()->getScalarType()); in matchScalarOfFirstType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DLowLevelTypeImpl.h120 LLT getScalarType() const { in getScalarType() function
134 assert(!getScalarType().isPointer() && in changeElementSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrFragmentsSIMD.td1161 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
1166 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
1171 return cast<MaskedStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i32;
1188 return cast<TruncSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
1193 return cast<TruncUSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
1198 return cast<TruncSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
1203 return cast<TruncUSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16;
1208 return cast<TruncSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i32;
1213 return cast<TruncUSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i32;
1218 return cast<MaskedTruncSStoreSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h668 ->getArithmeticInstrCost(Opcode, Ty->getScalarType());
802 Opcode, Dst->getScalarType(), Src->getScalarType(), I);
863 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost()
865 Opcode, ValTy->getScalarType(), CondTy, I); in getCmpSelInstrCost()
878 getTLI()->getTypeLegalizationCost(DL, Val->getScalarType()); in getVectorInstrCost()
1196 ScalarRetTy = RetTy->getScalarType();
1205 Ty = Ty->getScalarType();
1526 Ty = Ty->getScalarType();
1530 IID, RetTy->getScalarType(), ScalarTys, FMF);
DValueTypes.h262 EVT getScalarType() const { in getScalarType() function
305 return getScalarType().getSizeInBits(); in getScalarSizeInBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp432 getArithmeticInstrCost(Opcode, Ty->getScalarType()); in getArithmeticInstrCost()
524 if (Tp->getScalarType()->isFP128Ty()) in getShuffleCost()
644 Type *ElTy = OpTy->getScalarType(); in getCmpOpsType()
722 unsigned ScalarCost = getCastInstrCost(Opcode, Dst->getScalarType(), in getCastInstrCost()
723 Src->getScalarType()); in getCastInstrCost()
839 unsigned CmpCostPerVector = (ValTy->getScalarType()->isFloatTy() ? 10 : 1); in getCmpSelInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1275 Type *DstVecTy = DstTy->getScalarType(); in executeTruncInst()
1295 Type *DstVecTy = DstTy->getScalarType(); in executeSExtInst()
1315 Type *DstVecTy = DstTy->getScalarType(); in executeZExtInst()
1336 assert(SrcVal->getType()->getScalarType()->isDoubleTy() && in executeFPTruncInst()
1337 DstTy->getScalarType()->isFloatTy() && in executeFPTruncInst()
1359 assert(SrcVal->getType()->getScalarType()->isFloatTy() && in executeFPExtInst()
1360 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction"); in executeFPExtInst()
1382 Type *DstVecTy = DstTy->getScalarType(); in executeFPToUIInst()
1383 Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToUIInst()
1420 Type *DstVecTy = DstTy->getScalarType(); in executeFPToSIInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp480 getType()->getScalarType() != I->getType()->getScalarType() : in isSameOperationAs()
488 getOperand(i)->getType()->getScalarType() != in isSameOperationAs()
489 I->getOperand(i)->getType()->getScalarType() : in isSameOperationAs()
DConstants.cpp356 Type *ScalarTy = Ty->getScalarType(); in getIntegerValue()
705 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned); in get()
728 assert(C->getType() == Ty->getScalarType() && in get()
772 FV.convert(*TypeToFloatSemantics(Ty->getScalarType()), in get()
785 assert(C->getType() == Ty->getScalarType() && in get()
798 APFloat FV(*TypeToFloatSemantics(Ty->getScalarType()), Str); in get()
809 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType()); in getNaN()
820 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType()); in getQNaN()
831 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType()); in getSNaN()
842 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType()); in getNegativeZero()
[all …]
DDataLayout.cpp674 Ty = Ty->getScalarType(); in getPointerTypeSizeInBits()
690 Ty = Ty->getScalarType(); in getIndexTypeSizeInBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h40 unsigned IntPtrWidth = IntIdxTy->getScalarType()->getIntegerBitWidth();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp698 DAG.getValueType(VT.getScalarType())); in PromoteFP_TO_INT()
709 EVT SrcEltVT = SrcVT.getScalarType(); in ExpandLoad()
720 EVT DstEltVT = LD->getValueType(0).getScalarType(); in ExpandLoad()
1027 EVT BitTy = MaskTy.getScalarType(); in ExpandSELECT()
1088 SrcVT = EVT::getVectorVT(*DAG.getContext(), SrcVT.getScalarType(), in ExpandANY_EXTEND_VECTOR_INREG()
1148 SrcVT = EVT::getVectorVT(*DAG.getContext(), SrcVT.getScalarType(), in ExpandZERO_EXTEND_VECTOR_INREG()
1204 if (TLI.isOperationLegalOrCustom(ISD::BITREVERSE, VT.getScalarType())) { in ExpandBITREVERSE()
DStatepointLowering.cpp492 auto Opt = S.isGCManagedPointer(V->getType()->getScalarType()); in lowerStatepointMetaArgs()
499 auto Opt = S.isGCManagedPointer(V->getType()->getScalarType()); in lowerStatepointMetaArgs()
1000 auto *Ty = Relocate.getType()->getScalarType(); in visitGCRelocate()
DSelectionDAG.cpp283 EVT SVT = Op.getValueType().getScalarType(); in matchUnaryPredicate()
315 EVT SVT = LHS.getValueType().getScalarType(); in matchBinaryPredicate()
1173 if (Op.getValueType().getScalarType() == VT) return Op; in getZeroExtendInReg()
1195 EVT EltVT = VT.getScalarType(); in getNOT()
1223 EVT EltVT = VT.getScalarType(); in getConstant()
1239 EVT EltVT = VT.getScalarType(); in getConstant()
1348 EVT EltVT = VT.getScalarType(); in getConstantFP()
1378 EVT EltVT = VT.getScalarType(); in getConstantFP()
2418 SrcVector.getValueType().getScalarType(), SrcVector, in getSplatValue()
4332 EVT SVT = VT.getScalarType(); in foldCONCAT_VECTORS()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1077 DstTy = DstTy.getScalarType(); in verifyPreISelGenericInstruction()
1078 SrcTy = SrcTy.getScalarType(); in verifyPreISelGenericInstruction()
1109 if (!PtrTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1112 if (OffsetTy.getScalarType().isPointer()) in verifyPreISelGenericInstruction()
1135 LLT DstElTy = DstTy.getScalarType(); in verifyPreISelGenericInstruction()
1136 LLT SrcElTy = SrcTy.getScalarType(); in verifyPreISelGenericInstruction()
1417 if (Src0Ty.getScalarType() != DstTy.getScalarType()) in verifyPreISelGenericInstruction()

12345