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

1234

/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp208 TempValues.push_back(getRandomConstant(VTp->getScalarType()));
343 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy();
377 case 0: if (Ty->getScalarType()->isIntegerTy())
379 case 1: if (Ty->getScalarType()->isIntegerTy())
472 Value *Val1 = getRandomValue(Val0->getType()->getScalarType());
508 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits();
509 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
518 if (VTy->getScalarType()->isIntegerTy() &&
519 DestTy->getScalarType()->isIntegerTy()) {
533 if (VTy->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.cpp296 if (CI->getArgOperand(0)->getType()->getScalarType()->
378 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType()))
387 J->getType()->getScalarType()->isPPC_FP128Ty()) {
393 if (CI->getSrcTy()->getScalarType()->isPPC_FP128Ty() ||
394 CI->getDestTy()->getScalarType()->isPPC_FP128Ty() ||
395 isLargeIntegerTy(TT.isArch32Bit(), CI->getSrcTy()->getScalarType()) ||
396 isLargeIntegerTy(TT.isArch32Bit(), CI->getDestTy()->getScalarType()))
399 J->getType()->getScalarType()) &&
406 isLargeIntegerTy(false, J->getType()->getScalarType()) &&
H A DPPCTargetTransformInfo.cpp300 if (ST->hasVSX() && Val->getScalarType()->isDoubleTy()) {
306 } else if (ST->hasQPX() && Val->getScalarType()->isFloatingPointTy()) {
364 Alignment >= LT.second.getScalarType().getStoreSize())
/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/include/llvm/IR/
H A DGetElementPtrTypeIterator.h107 cast<PointerType>(GEPOp->getPointerOperandType()->getScalarType())
118 cast<PointerType>(GEPOp.getPointerOperandType()->getScalarType())
H A DType.h173 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); }
194 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); }
215 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); }
298 /// getScalarType - If this is a vector type, return the element type,
300 Type *getScalarType() const LLVM_READONLY;
/external/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h298 bool IsFloat = Ty->getScalarType()->isFloatingPointTy();
319 ->getArithmeticInstrCost(Opcode, Ty->getScalarType());
410 Opcode, Dst->getScalarType(), Src->getScalarType());
460 CondTy = CondTy->getScalarType();
462 Opcode, ValTy->getScalarType(), CondTy);
476 getTLI()->getTypeLegalizationCost(DL, Val->getScalarType());
595 ScalarRetTy = RetTy->getScalarType();
603 Ty = Ty->getScalarType();
729 Ty = Ty->getScalarType();
[all...]
H A DValueTypes.h226 /// getScalarType - If this is a vector type, return the element type,
228 EVT getScalarType() const { function in struct:llvm::EVT
258 return getScalarType().getSizeInBits();
H A DMachineValueType.h300 /// getScalarType - If this is a vector type, return the element type,
302 MVT getScalarType() const { function in class:llvm::MVT
509 return getScalarType().getSizeInBits();
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp506 EVT SrcEltVT = SrcVT.getScalarType();
507 EVT DstEltVT = Op.getNode()->getValueType(0).getScalarType();
617 unsigned Stride = SrcVT.getScalarType().getSizeInBits()/8;
621 Op.getNode()->getValueType(0).getScalarType(),
623 SrcVT.getScalarType(),
661 EVT RegSclVT = RegVT.getScalarType();
663 EVT MemSclVT = StVT.getScalarType();
758 EVT BitTy = MaskTy.getScalarType();
796 unsigned BW = VT.getScalarType().getSizeInBits();
797 unsigned OrigBW = OrigTy.getScalarType()
[all...]
H A DSelectionDAG.cpp1043 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1083 EVT EltVT = VT.getScalarType();
1090 EVT EltVT = VT.getScalarType();
1107 EVT EltVT = VT.getScalarType();
1124 EVT EltVT = VT.getScalarType();
1228 EVT EltVT = VT.getScalarType();
1261 EVT EltVT = VT.getScalarType();
2033 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
2051 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
2236 unsigned EBits = EVT.getScalarType()
[all...]
H A DTargetLowering.cpp394 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth &&
785 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits());
828 unsigned ShAmt = ExVT.getScalarType().getSizeInBits();
830 unsigned VTBits = Op->getValueType(0).getScalarType().getSizeInBits();
854 BitWidth - ExVT.getScalarType().getSizeInBits());
861 APInt::getSignBit(ExVT.getScalarType().getSizeInBits()).zext(BitWidth);
864 ExVT.getScalarType().getSizeInBits()) &
920 Op.getOperand(0).getValueType().getScalarType().getSizeInBits();
942 unsigned InBits = InVT.getScalarType().getSizeInBits();
983 Op.getOperand(0).getValueType().getScalarType()
[all...]
/external/llvm/lib/IR/
H A DInstruction.cpp375 getType()->getScalarType() != I->getType()->getScalarType() :
383 getOperand(i)->getType()->getScalarType() !=
384 I->getOperand(i)->getType()->getScalarType() :
H A DConstants.cpp234 Type *ScalarTy = Ty->getScalarType();
582 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned);
606 assert(C->getType() == Ty->getScalarType() &&
656 FV.convert(*TypeToFloatSemantics(Ty->getScalarType()),
671 APFloat FV(*TypeToFloatSemantics(Ty->getScalarType()), Str);
682 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType());
693 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType());
742 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType());
1746 assert(C->getType()->getScalarType()->isPointerTy() &&
1748 assert(DstTy->getScalarType()
[all...]
H A DType.cpp44 /// getScalarType - If this is a vector type, return the element type,
46 Type *Type::getScalarType() const { function in class:Type
133 return getScalarType()->getPrimitiveSizeInBits();
210 return cast<PointerType>(getScalarType())->getAddressSpace();
650 if (!V->getType()->getScalarType()->isIntegerTy(32))
/external/llvm/lib/Transforms/Scalar/
H A DGVN.cpp890 if (StoredValTy->getScalarType()->isPointerTy() &&
891 LoadedTy->getScalarType()->isPointerTy())
895 if (StoredValTy->getScalarType()->isPointerTy()) {
901 if (TypeToCastTo->getScalarType()->isPointerTy())
908 if (LoadedTy->getScalarType()->isPointerTy())
920 if (StoredValTy->getScalarType()->isPointerTy()) {
945 if (LoadedTy->getScalarType()->isPointerTy())
1143 if (SrcVal->getType()->getScalarType()->isPointerTy())
1703 if (V->getType()->getScalarType()->isPointerTy())
1776 if (V->getType()->getScalarType()
[all...]
H A DMergedLoadStoreMotion.cpp189 if (Inst->getType()->getScalarType()->isPointerTy()) {
450 if (MD && NewPN->getType()->getScalarType()->isPointerTy())
/external/llvm/include/llvm/Transforms/Utils/
H A DLocal.h204 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1223 Type *DstVecTy = DstTy->getScalarType();
1243 Type *DstVecTy = DstTy->getScalarType();
1263 Type *DstVecTy = DstTy->getScalarType();
1284 assert(SrcVal->getType()->getScalarType()->isDoubleTy() &&
1285 DstTy->getScalarType()->isFloatTy() &&
1307 assert(SrcVal->getType()->getScalarType()->isFloatTy() &&
1308 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction");
1330 Type *DstVecTy = DstTy->getScalarType();
1331 Type *SrcVecTy = SrcTy->getScalarType();
1368 Type *DstVecTy = DstTy->getScalarType();
[all...]
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp930 if (Val->getScalarType()->isFloatingPointTy() && Index == 0)
970 int Cost = BaseT::getMemoryOpCost(Opcode, VTy->getScalarType(), Alignment,
1018 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(),
1301 Type *ScalarTy = DataTy->getScalarType();
1325 Type *ScalarTy = DataTy->getScalarType();

Completed in 458 milliseconds

1234