Searched refs:getScalarType (Results 1 - 25 of 69) sorted by relevance

123

/external/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h87 (GEP->getOperand(0)->getType()->getScalarType(), GEP->op_begin()+1);
94 (GEP.getOperand(0)->getType()->getScalarType(), GEP.op_begin()+1);
H A DType.h183 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); }
201 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); }
222 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); }
305 /// getScalarType - If this is a vector type, return the element type,
307 const Type *getScalarType() const LLVM_READONLY;
308 Type *getScalarType() LLVM_READONLY;
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp187 TempValues.push_back(getRandomConstant(VTp->getScalarType()));
335 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy();
369 case 0: if (Ty->getScalarType()->isIntegerTy())
371 case 1: if (Ty->getScalarType()->isIntegerTy())
464 Value *Val1 = getRandomValue(Val0->getType()->getScalarType());
500 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits();
501 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
510 if (VTy->getScalarType()->isIntegerTy() &&
511 DestTy->getScalarType()->isIntegerTy()) {
525 if (VTy->getScalarType()
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDILISelLowering.cpp252 if (VT.getScalarType().getSimpleVT().SimpleTy == MVT::f32
253 || VT.getScalarType().getSimpleVT().SimpleTy == MVT::f64) {
263 if (VT.getScalarType().getSimpleVT().SimpleTy == MVT::f32
264 || VT.getScalarType().getSimpleVT().SimpleTy == MVT::f64) {
321 if (OVT.getScalarType() == MVT::i64) {
323 } else if (OVT.getScalarType() == MVT::i32) {
325 } else if (OVT.getScalarType() == MVT::i16
326 || OVT.getScalarType() == MVT::i8) {
339 if (OVT.getScalarType() == MVT::i64) {
341 } else if (OVT.getScalarType()
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILISelLowering.cpp252 if (VT.getScalarType().getSimpleVT().SimpleTy == MVT::f32
253 || VT.getScalarType().getSimpleVT().SimpleTy == MVT::f64) {
263 if (VT.getScalarType().getSimpleVT().SimpleTy == MVT::f32
264 || VT.getScalarType().getSimpleVT().SimpleTy == MVT::f64) {
321 if (OVT.getScalarType() == MVT::i64) {
323 } else if (OVT.getScalarType() == MVT::i32) {
325 } else if (OVT.getScalarType() == MVT::i16
326 || OVT.getScalarType() == MVT::i8) {
339 if (OVT.getScalarType() == MVT::i64) {
341 } else if (OVT.getScalarType()
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp265 if (CI->getArgOperand(0)->getType()->getScalarType()->
346 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType()))
355 J->getType()->getScalarType()->isPPC_FP128Ty()) {
361 if (CI->getSrcTy()->getScalarType()->isPPC_FP128Ty() ||
362 CI->getDestTy()->getScalarType()->isPPC_FP128Ty() ||
363 isLargeIntegerTy(TT.isArch32Bit(), CI->getSrcTy()->getScalarType()) ||
364 isLargeIntegerTy(TT.isArch32Bit(), CI->getDestTy()->getScalarType()))
367 J->getType()->getScalarType()) &&
374 isLargeIntegerTy(false, J->getType()->getScalarType()) &&
H A DPPCTargetTransformInfo.cpp354 if (ST->hasVSX() && Val->getScalarType()->isDoubleTy()) {
/external/deqp/framework/randomshaders/
H A DrsgExecutionContext.cpp37 return ExecValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data);
42 return ExecConstValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data);
H A DrsgVariableType.cpp130 const VariableType& VariableType::getScalarType (Type baseType) function in class:rsg::VariableType
176 throw Exception("VariableType::getScalarType(): unsupported type");
190 return getScalarType(m_baseType);
H A DrsgExpression.hpp118 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)); }
136 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)); }
154 ExecConstValueAccess getValue (void) const { return m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)); }
H A DrsgVariableType.hpp166 static const VariableType& getScalarType (Type baseType);
H A DrsgExpression.cpp360 : m_value(VariableType::getScalarType(VariableType::TYPE_FLOAT))
381 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT));
414 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)).asFloat(0));
418 : m_value(VariableType::getScalarType(VariableType::TYPE_INT))
436 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT));
468 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)).asInt(0));
472 : m_value(VariableType::getScalarType(VariableType::TYPE_BOOL))
484 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL));
505 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)).asBool(0));
/external/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp299 bool IsFloat = Ty->getScalarType()->isFloatingPointTy();
323 unsigned Cost = TopTTI->getArithmeticInstrCost(Opcode, Ty->getScalarType());
429 unsigned Cost = TopTTI->getCastInstrCost(Opcode, Dst->getScalarType(),
430 Src->getScalarType());
478 CondTy = CondTy->getScalarType();
479 unsigned Cost = TopTTI->getCmpSelInstrCost(Opcode, ValTy->getScalarType(),
493 std::pair<unsigned, MVT> LT = getTLI()->getTypeLegalizationCost(Val->getScalarType());
610 unsigned Cost = TopTTI->getIntrinsicInstrCost(IID, RetTy->getScalarType(),
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp452 EVT SrcEltVT = SrcVT.getScalarType();
453 EVT DstEltVT = Op.getNode()->getValueType(0).getScalarType();
557 unsigned Stride = SrcVT.getScalarType().getSizeInBits()/8;
561 Op.getNode()->getValueType(0).getScalarType(),
563 SrcVT.getScalarType(),
601 EVT RegSclVT = RegVT.getScalarType();
603 EVT MemSclVT = StVT.getScalarType();
694 EVT BitTy = MaskTy.getScalarType();
731 unsigned BW = VT.getScalarType().getSizeInBits();
732 unsigned OrigBW = OrigTy.getScalarType()
[all...]
H A DSelectionDAG.cpp1029 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1069 EVT EltVT = VT.getScalarType();
1076 EVT EltVT = VT.getScalarType();
1092 EVT EltVT = VT.getScalarType();
1108 EVT EltVT = VT.getScalarType();
1212 EVT EltVT = VT.getScalarType();
1244 EVT EltVT = VT.getScalarType();
1906 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1925 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
2110 unsigned EBits = EVT.getScalarType()
[all...]
H A DTargetLowering.cpp379 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth &&
757 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits());
797 unsigned ShAmt = ExVT.getScalarType().getSizeInBits();
815 BitWidth - ExVT.getScalarType().getSizeInBits());
822 APInt::getSignBit(ExVT.getScalarType().getSizeInBits()).zext(BitWidth);
825 ExVT.getScalarType().getSizeInBits()) &
881 Op.getOperand(0).getValueType().getScalarType().getSizeInBits();
903 unsigned InBits = InVT.getScalarType().getSizeInBits();
944 Op.getOperand(0).getValueType().getScalarType().getSizeInBits();
958 Op.getOperand(0).getValueType().getScalarType()
[all...]
/external/llvm/lib/IR/
H A DInstruction.cpp364 getType()->getScalarType() != I->getType()->getScalarType() :
372 getOperand(i)->getType()->getScalarType() !=
373 I->getOperand(i)->getType()->getScalarType() :
H A DType.cpp43 /// getScalarType - If this is a vector type, return the element type,
45 Type *Type::getScalarType() { function in class:Type
51 const Type *Type::getScalarType() const { function in class:Type
136 return getScalarType()->getPrimitiveSizeInBits();
213 return cast<PointerType>(getScalarType())->getAddressSpace();
646 if (!V->getType()->getScalarType()->isIntegerTy(32))
H A DConstants.cpp169 Type *ScalarTy = Ty->getScalarType();
529 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned);
553 assert(C->getType() == Ty->getScalarType() &&
598 FV.convert(*TypeToFloatSemantics(Ty->getScalarType()),
613 APFloat FV(*TypeToFloatSemantics(Ty->getScalarType()), Str);
624 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType());
673 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType());
1698 assert(C->getType()->getScalarType()->isPointerTy() &&
1700 assert(DstTy->getScalarType()->isIntegerTy() &&
1710 assert(C->getType()->getScalarType()
[all...]
/external/llvm/include/llvm/CodeGen/
H A DValueTypes.h209 /// getScalarType - If this is a vector type, return the element type,
211 EVT getScalarType() const { function in struct:llvm::EVT
241 return getScalarType().getSizeInBits();
H A DMachineValueType.h258 /// getScalarType - If this is a vector type, return the element type,
260 MVT getScalarType() const { function in class:llvm::MVT
433 return getScalarType().getSizeInBits();
/external/llvm/lib/Transforms/Scalar/
H A DGVN.cpp871 if (StoredValTy->getScalarType()->isPointerTy() &&
872 LoadedTy->getScalarType()->isPointerTy())
876 if (StoredValTy->getScalarType()->isPointerTy()) {
882 if (TypeToCastTo->getScalarType()->isPointerTy())
889 if (LoadedTy->getScalarType()->isPointerTy())
901 if (StoredValTy->getScalarType()->isPointerTy()) {
927 if (LoadedTy->getScalarType()->isPointerTy())
1123 if (SrcVal->getType()->getScalarType()->isPointerTy())
1301 if (V->getType()->getScalarType()->isPointerTy()) {
1691 if (V->getType()->getScalarType()
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DLocal.h198 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1222 Type *DstVecTy = DstTy->getScalarType();
1242 const Type *DstVecTy = DstTy->getScalarType();
1262 const Type *DstVecTy = DstTy->getScalarType();
1283 assert(SrcVal->getType()->getScalarType()->isDoubleTy() &&
1284 DstTy->getScalarType()->isFloatTy() &&
1306 assert(SrcVal->getType()->getScalarType()->isFloatTy() &&
1307 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction");
1329 const Type *DstVecTy = DstTy->getScalarType();
1330 const Type *SrcVecTy = SrcTy->getScalarType();
1367 const Type *DstVecTy = DstTy->getScalarType();
[all...]
/external/llvm/lib/Target/R600/
H A DAMDGPUISelLowering.cpp400 EVT ScalarVT = VT.getScalarType();
406 EVT ScalarVT = VT.getScalarType();
415 unsigned LScalarSize = LoadTy.getScalarType().getSizeInBits();
416 unsigned CastScalarSize = CastTy.getScalarType().getSizeInBits();
450 unsigned SrcSize = DL->getTypeSizeInBits(Src->getScalarType());
451 unsigned DestSize = DL->getTypeSizeInBits(Dest->getScalarType());
1202 EVT MemEltVT = MemVT.getScalarType();
1296 unsigned bitsize = OVT.getScalarType().getSizeInBits();
1430 EVT OVT = Op.getValueType().getScalarType();
1435 if (OVT.getScalarType()
[all...]

Completed in 3429 milliseconds

123