/external/llvm/include/llvm/IR/ |
GetElementPtrTypeIterator.h | 87 (GEP->getOperand(0)->getType()->getScalarType(), GEP->op_begin()+1); 94 (GEP.getOperand(0)->getType()->getScalarType(), GEP.op_begin()+1);
|
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/ |
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()->isFloatingPointTy() & [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
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() == MVT::i32) [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
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() == MVT::i32) [all...] |
/external/llvm/lib/Target/PowerPC/ |
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()) &&
|
PPCTargetTransformInfo.cpp | 354 if (ST->hasVSX() && Val->getScalarType()->isDoubleTy()) {
|
/external/deqp/framework/randomshaders/ |
rsgExecutionContext.cpp | 37 return ExecValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data); 42 return ExecConstValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data);
|
rsgVariableType.cpp | 130 const VariableType& VariableType::getScalarType (Type baseType) 176 throw Exception("VariableType::getScalarType(): unsupported type"); 190 return getScalarType(m_baseType);
|
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)); }
|
rsgVariableType.hpp | 166 static const VariableType& getScalarType (Type baseType);
|
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)); [all...] |
/external/llvm/lib/CodeGen/ |
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/ |
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().getSizeInBits() [all...] |
SelectionDAG.cpp | [all...] |
TargetLowering.cpp | 379 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth && 757 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits()); [all...] |
/external/llvm/lib/IR/ |
Instruction.cpp | 364 getType()->getScalarType() != I->getType()->getScalarType() : 372 getOperand(i)->getType()->getScalarType() != 373 I->getOperand(i)->getType()->getScalarType() :
|
Type.cpp | 43 /// getScalarType - If this is a vector type, return the element type, 45 Type *Type::getScalarType() { 51 const Type *Type::getScalarType() const { 136 return getScalarType()->getPrimitiveSizeInBits(); 213 return cast<PointerType>(getScalarType())->getAddressSpace(); 646 if (!V->getType()->getScalarType()->isIntegerTy(32))
|
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()); [all...] |
/external/llvm/include/llvm/CodeGen/ |
ValueTypes.h | 209 /// getScalarType - If this is a vector type, return the element type, 211 EVT getScalarType() const { 241 return getScalarType().getSizeInBits();
|
MachineValueType.h | 258 /// getScalarType - If this is a vector type, return the element type, 260 MVT getScalarType() const { 433 return getScalarType().getSizeInBits();
|
/external/llvm/lib/Transforms/Scalar/ |
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()) [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 198 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | [all...] |
/external/llvm/lib/Target/R600/ |
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()); [all...] |