HomeSort by relevance Sort by last modified time
    Searched refs:getScalarType (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/llvm/include/llvm/Support/
GetElementPtrTypeIterator.h 87 (GEP->getOperand(0)->getType()->getScalarType(), GEP->op_begin()+1);
94 (GEP.getOperand(0)->getType()->getScalarType(), GEP.op_begin()+1);
  /external/llvm/include/llvm/IR/
Type.h 186 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); }
204 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); }
225 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); }
315 /// getScalarType - If this is a vector type, return the element type,
317 const Type *getScalarType() const;
318 Type *getScalarType();
  /external/llvm/tools/llvm-stress/
llvm-stress.cpp 185 TempValues.push_back(getRandomConstant(VTp->getScalarType()));
333 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy();
367 case 0: if (Ty->getScalarType()->isIntegerTy())
369 case 1: if (Ty->getScalarType()->isIntegerTy())
462 Value *Val1 = getRandomValue(Val0->getType()->getScalarType());
498 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits();
499 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
508 if (VTy->getScalarType()->isIntegerTy() &&
509 DestTy->getScalarType()->isIntegerTy()) {
523 if (VTy->getScalarType()->isFloatingPointTy() &
    [all...]
  /external/llvm/lib/CodeGen/
BasicTargetTransformInfo.cpp 228 bool IsFloat = Ty->getScalarType()->isFloatingPointTy();
252 unsigned Cost = TopTTI->getArithmeticInstrCost(Opcode, Ty->getScalarType());
337 unsigned Cost = TopTTI->getCastInstrCost(Opcode, Dst->getScalarType(),
338 Src->getScalarType());
386 CondTy = CondTy->getScalarType();
387 unsigned Cost = TopTTI->getCmpSelInstrCost(Opcode, ValTy->getScalarType(),
484 unsigned Cost = TopTTI->getIntrinsicInstrCost(IID, RetTy->getScalarType(),
  /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...]
AMDILPeepholeOptimizer.cpp 474 if (aType->getScalarType()
719 if (aType->getScalarType()
757 Type *scalarType = AndMaskVec->getType()->getScalarType();
    [all...]
  /external/llvm/lib/Target/R600/
AMDILISelLowering.cpp 228 if (VT.getScalarType().getSimpleVT().SimpleTy == MVT::f32
229 || VT.getScalarType().getSimpleVT().SimpleTy == MVT::f64) {
238 if (VT.getScalarType().getSimpleVT().SimpleTy == MVT::f32
239 || VT.getScalarType().getSimpleVT().SimpleTy == MVT::f64) {
294 if (OVT.getScalarType() == MVT::i64) {
296 } else if (OVT.getScalarType() == MVT::i32) {
298 } else if (OVT.getScalarType() == MVT::i16
299 || OVT.getScalarType() == MVT::i8) {
311 if (OVT.getScalarType() == MVT::i64) {
313 } 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...]
AMDILPeepholeOptimizer.cpp 474 if (aType->getScalarType()
719 if (aType->getScalarType()
757 Type *scalarType = AndMaskVec->getType()->getScalarType();
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
LegalizeVectorOps.cpp 389 EVT SrcEltVT = SrcVT.getScalarType();
390 EVT DstEltVT = Op.getNode()->getValueType(0).getScalarType();
492 unsigned Stride = SrcVT.getScalarType().getSizeInBits()/8;
496 Op.getNode()->getValueType(0).getScalarType(),
498 SrcVT.getScalarType(),
536 EVT RegSclVT = RegVT.getScalarType();
538 EVT MemSclVT = StVT.getScalarType();
606 EVT BitTy = MaskTy.getScalarType();
643 unsigned BW = VT.getScalarType().getSizeInBits();
644 unsigned OrigBW = OrigTy.getScalarType().getSizeInBits()
    [all...]
SelectionDAG.cpp     [all...]
TargetLowering.cpp 358 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth &&
711 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits());
740 unsigned ShAmt = ExVT.getScalarType().getSizeInBits();
758 BitWidth - ExVT.getScalarType().getSizeInBits());
765 APInt::getSignBit(ExVT.getScalarType().getSizeInBits()).zext(BitWidth);
768 ExVT.getScalarType().getSizeInBits()) &
    [all...]
DAGCombiner.cpp 138 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCCTRLoops.cpp 326 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType()))
335 J->getType()->getScalarType()->isPPC_FP128Ty()) {
341 if (CI->getSrcTy()->getScalarType()->isPPC_FP128Ty() ||
342 CI->getDestTy()->getScalarType()->isPPC_FP128Ty() ||
344 (CI->getSrcTy()->getScalarType()->isIntegerTy(64) ||
345 CI->getDestTy()->getScalarType()->isIntegerTy(64))
349 J->getType()->getScalarType()->isIntegerTy(64) &&
  /external/llvm/lib/Transforms/Scalar/
GVN.cpp 854 if (StoredValTy->getScalarType()->isPointerTy() &&
855 LoadedTy->getScalarType()->isPointerTy())
859 if (StoredValTy->getScalarType()->isPointerTy()) {
865 if (TypeToCastTo->getScalarType()->isPointerTy())
872 if (LoadedTy->getScalarType()->isPointerTy())
884 if (StoredValTy->getScalarType()->isPointerTy()) {
910 if (LoadedTy->getScalarType()->isPointerTy())
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
Local.h 198 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
  /external/llvm/lib/IR/
Instruction.cpp 341 getType()->getScalarType() != I->getType()->getScalarType() :
349 getOperand(i)->getType()->getScalarType() !=
350 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();
219 return cast<PointerType>(getScalarType())->getAddressSpace();
653 if (!V->getType()->getScalarType()->isIntegerTy(32))
DataLayout.cpp 517 return getTypeSizeInBits(Ty->getScalarType());
618 unsigned NumBits = getTypeSizeInBits(Ty->getScalarType());
Verifier.cpp     [all...]
Constants.cpp 147 Type *ScalarTy = Ty->getScalarType();
493 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned);
517 assert(C->getType() == Ty->getScalarType() &&
562 FV.convert(*TypeToFloatSemantics(Ty->getScalarType()),
577 APFloat FV(*TypeToFloatSemantics(Ty->getScalarType()), Str);
597 Type *ScalarTy = Ty->getScalarType();
    [all...]
  /external/llvm/lib/ExecutionEngine/Interpreter/
Execution.cpp     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 631 VectorType::get(I->getType()->getScalarType(),
654 return UndefValue::get(VectorType::get(V->getType()->getScalarType(),
659 VectorType::get(V->getType()->getScalarType(),
736 VectorType::get(V->getType()->getScalarType(), Mask.size()));
    [all...]
  /external/llvm/include/llvm/CodeGen/
ValueTypes.h 252 /// getScalarType - If this is a vector type, return the element type,
254 MVT getScalarType() const {
729 /// getScalarType - If this is a vector type, return the element type,
731 EVT getScalarType() const {
  /external/llvm/lib/Target/X86/
X86TargetTransformInfo.cpp 536 if (Val->getScalarType()->isFloatingPointTy() && Index == 0)
578 VTy->getScalarType(),

Completed in 547 milliseconds

1 2 3