/external/llvm/include/llvm/IR/ |
H A D | GetElementPtrTypeIterator.h | 87 (GEP->getOperand(0)->getType()->getScalarType(), GEP->op_begin()+1); 94 (GEP.getOperand(0)->getType()->getScalarType(), GEP.op_begin()+1);
|
H A D | Type.h | 183 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 D | llvm-stress.cpp | 187 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 D | AMDILISelLowering.cpp | 252 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 D | AMDILISelLowering.cpp | 252 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 D | PPCCTRLoops.cpp | 265 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 D | PPCTargetTransformInfo.cpp | 354 if (ST->hasVSX() && Val->getScalarType()->isDoubleTy()) {
|
/external/deqp/framework/randomshaders/ |
H A D | rsgExecutionContext.cpp | 37 return ExecValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data); 42 return ExecConstValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data);
|
H A D | rsgVariableType.cpp | 130 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 D | rsgExpression.hpp | 118 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 D | rsgVariableType.hpp | 166 static const VariableType& getScalarType (Type baseType);
|
H A D | rsgExpression.cpp | 360 : 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 D | BasicTargetTransformInfo.cpp | 299 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 D | LegalizeVectorOps.cpp | 452 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 D | SelectionDAG.cpp | 1029 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 D | TargetLowering.cpp | 379 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 D | Instruction.cpp | 364 getType()->getScalarType() != I->getType()->getScalarType() : 372 getOperand(i)->getType()->getScalarType() != 373 I->getOperand(i)->getType()->getScalarType() :
|
H A D | Type.cpp | 43 /// 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 D | Constants.cpp | 169 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 D | ValueTypes.h | 209 /// 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 D | MachineValueType.h | 258 /// 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 D | GVN.cpp | 871 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 D | Local.h | 198 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 1222 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 D | AMDGPUISelLowering.cpp | 400 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...] |