/minix/external/bsd/llvm/dist/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 369 case 0: if (Ty->getScalarType()->isIntegerTy()) in Act() 371 case 1: if (Ty->getScalarType()->isIntegerTy()) in Act() 464 Value *Val1 = getRandomValue(Val0->getType()->getScalarType()); in Act() 510 if (VTy->getScalarType()->isIntegerTy() && in Act() 511 DestTy->getScalarType()->isIntegerTy()) { in Act() 525 if (VTy->getScalarType()->isFloatingPointTy() && in Act() 526 DestTy->getScalarType()->isIntegerTy()) { in Act() 534 if (VTy->getScalarType()->isIntegerTy() && in Act() 535 DestTy->getScalarType()->isFloatingPointTy()) { in Act() 544 if (VTy->getScalarType()->isFloatingPointTy() && in Act() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCCTRLoops.cpp | 280 if (CI->getArgOperand(0)->getType()->getScalarType()-> in mightUseCTR() 361 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType())) in mightUseCTR() 370 J->getType()->getScalarType()->isPPC_FP128Ty()) { in mightUseCTR() 376 if (CI->getSrcTy()->getScalarType()->isPPC_FP128Ty() || in mightUseCTR() 377 CI->getDestTy()->getScalarType()->isPPC_FP128Ty() || in mightUseCTR() 378 isLargeIntegerTy(TT.isArch32Bit(), CI->getSrcTy()->getScalarType()) || in mightUseCTR() 379 isLargeIntegerTy(TT.isArch32Bit(), CI->getDestTy()->getScalarType())) in mightUseCTR() 382 J->getType()->getScalarType()) && in mightUseCTR() 389 isLargeIntegerTy(false, J->getType()->getScalarType()) && in mightUseCTR()
|
H A D | PPCTargetTransformInfo.cpp | 366 if (ST->hasVSX() && Val->getScalarType()->isDoubleTy()) { in getVectorInstrCost()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
H A D | Type.h | 183 bool isFPOrFPVectorTy() const { return getScalarType()->isFloatingPointTy(); } in isFPOrFPVectorTy() 201 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() 222 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy() 307 const Type *getScalarType() const LLVM_READONLY; 308 Type *getScalarType() LLVM_READONLY;
|
H A D | GetElementPtrTypeIterator.h | 87 (GEP->getOperand(0)->getType()->getScalarType(), GEP->op_begin()+1); in gep_type_begin() 94 (GEP.getOperand(0)->getType()->getScalarType(), GEP.op_begin()+1); in gep_type_begin()
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
H A D | BasicTargetTransformInfo.cpp | 302 bool IsFloat = Ty->getScalarType()->isFloatingPointTy(); in getArithmeticInstrCost() 326 unsigned Cost = TopTTI->getArithmeticInstrCost(Opcode, Ty->getScalarType()); in getArithmeticInstrCost() 432 unsigned Cost = TopTTI->getCastInstrCost(Opcode, Dst->getScalarType(), in getCastInstrCost() 433 Src->getScalarType()); in getCastInstrCost() 482 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost() 483 unsigned Cost = TopTTI->getCmpSelInstrCost(Opcode, ValTy->getScalarType(), in getCmpSelInstrCost() 497 std::pair<unsigned, MVT> LT = getTLI()->getTypeLegalizationCost(Val->getScalarType()); in getVectorInstrCost() 617 unsigned Cost = TopTTI->getIntrinsicInstrCost(IID, RetTy->getScalarType(), in getIntrinsicInstrCost()
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorOps.cpp | 485 EVT SrcEltVT = SrcVT.getScalarType(); in ExpandLoad() 590 unsigned Stride = SrcVT.getScalarType().getSizeInBits()/8; in ExpandLoad() 594 Op.getNode()->getValueType(0).getScalarType(), in ExpandLoad() 596 SrcVT.getScalarType(), in ExpandLoad() 634 EVT RegSclVT = RegVT.getScalarType(); in ExpandStore() 636 EVT MemSclVT = StVT.getScalarType(); in ExpandStore() 727 EVT BitTy = MaskTy.getScalarType(); in ExpandSELECT() 764 unsigned BW = VT.getScalarType().getSizeInBits(); in ExpandSEXTINREG() 765 unsigned OrigBW = OrigTy.getScalarType().getSizeInBits(); in ExpandSEXTINREG() 831 EVT SrcScalarVT = SrcVT.getScalarType(); in ExpandZERO_EXTEND_VECTOR_INREG() [all …]
|
H A D | SelectionDAG.cpp | 1053 EVT EltVT = VT.getScalarType(); in getNOT() 1060 EVT EltVT = VT.getScalarType(); in getLogicalNOT() 1076 EVT EltVT = VT.getScalarType(); in getConstant() 1092 EVT EltVT = VT.getScalarType(); in getConstant() 2818 assert(Operand.getValueType().getScalarType().bitsLT(VT.getScalarType()) && in getNode() 2834 assert(Operand.getValueType().getScalarType().bitsLT(VT.getScalarType()) && in getNode() 2851 assert(Operand.getValueType().getScalarType().bitsLT(VT.getScalarType()) && in getNode() 2876 assert(Operand.getValueType().getScalarType().bitsGT(VT.getScalarType()) && in getNode() 2969 EVT SVT = VT.getScalarType(); in FoldConstantArithmetic() 4683 assert(MemVT.getScalarType().bitsLT(VT.getScalarType()) && in getLoad() [all …]
|
H A D | TargetLowering.cpp | 380 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth && in SimplifyDemandedBits() 758 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits()); in SimplifyDemandedBits() 798 unsigned ShAmt = ExVT.getScalarType().getSizeInBits(); in SimplifyDemandedBits() 816 BitWidth - ExVT.getScalarType().getSizeInBits()); in SimplifyDemandedBits() 823 APInt::getSignBit(ExVT.getScalarType().getSizeInBits()).zext(BitWidth); in SimplifyDemandedBits() 826 ExVT.getScalarType().getSizeInBits()) & in SimplifyDemandedBits() 882 Op.getOperand(0).getValueType().getScalarType().getSizeInBits(); in SimplifyDemandedBits() 904 unsigned InBits = InVT.getScalarType().getSizeInBits(); in SimplifyDemandedBits() 945 Op.getOperand(0).getValueType().getScalarType().getSizeInBits(); in SimplifyDemandedBits() 959 Op.getOperand(0).getValueType().getScalarType().getSizeInBits(); in SimplifyDemandedBits() [all …]
|
H A D | DAGCombiner.cpp | 710 CN->getValueType(0) == N.getValueType().getScalarType()) in isConstOrConstSplat() 1677 unsigned DestBits = VT.getScalarType().getSizeInBits(); in visitADD() 2667 unsigned BitWidth = VT.getScalarType().getSizeInBits(); in visitAND() 4228 unsigned OpSizeInBits = VT.getScalarType().getSizeInBits(); in visitSRA() 4374 unsigned OpSizeInBits = VT.getScalarType().getSizeInBits(); in visitSRL() 5155 EVT SVT = VT.getScalarType(); in tryToFoldExtendOfConstant() 5307 unsigned DestBits = VT.getScalarType().getSizeInBits(); in visitSIGN_EXTEND() 5459 unsigned ElementWidth = VT.getScalarType().getSizeInBits(); in visitSIGN_EXTEND() 6167 unsigned VTBits = VT.getScalarType().getSizeInBits(); in visitSIGN_EXTEND_INREG() 6168 unsigned EVTBits = EVT.getScalarType().getSizeInBits(); in visitSIGN_EXTEND_INREG() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/IR/ |
H A D | Instruction.cpp | 358 getType()->getScalarType() != I->getType()->getScalarType() : in isSameOperationAs() 366 getOperand(i)->getType()->getScalarType() != in isSameOperationAs() 367 I->getOperand(i)->getType()->getScalarType() : in isSameOperationAs()
|
H A D | Type.cpp | 45 Type *Type::getScalarType() { in getScalarType() function in Type 51 const Type *Type::getScalarType() const { in getScalarType() function in Type 140 return getScalarType()->getPrimitiveSizeInBits(); in getScalarSizeInBits() 217 return cast<PointerType>(getScalarType())->getAddressSpace(); in getPointerAddressSpace() 651 if (!V->getType()->getScalarType()->isIntegerTy(32)) in indexValid()
|
H A D | Constants.cpp | 214 Type *ScalarTy = Ty->getScalarType(); in getIntegerValue() 572 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned); in get() 596 assert(C->getType() == Ty->getScalarType() && in get() 641 FV.convert(*TypeToFloatSemantics(Ty->getScalarType()), in get() 656 APFloat FV(*TypeToFloatSemantics(Ty->getScalarType()), Str); in get() 667 const fltSemantics &Semantics = *TypeToFloatSemantics(Ty->getScalarType()); in getNegativeZero() 1784 assert(C->getType()->getScalarType()->isPointerTy() && in getPtrToInt() 1786 assert(DstTy->getScalarType()->isIntegerTy() && in getPtrToInt() 1797 assert(C->getType()->getScalarType()->isIntegerTy() && in getIntToPtr() 1799 assert(DstTy->getScalarType()->isPointerTy() && in getIntToPtr() [all …]
|
H A D | Verifier.cpp | 1474 Assert1(SrcTy->getScalarType()->isPointerTy(), in visitPtrToIntInst() 1476 Assert1(DestTy->getScalarType()->isIntegerTy(), in visitPtrToIntInst() 1496 Assert1(SrcTy->getScalarType()->isIntegerTy(), in visitIntToPtrInst() 1498 Assert1(DestTy->getScalarType()->isPointerTy(), in visitIntToPtrInst() 1834 Assert1(Op0Ty->isIntOrIntVectorTy() || Op0Ty->getScalarType()->isPointerTy(), in visitICmpInst() 1884 Type *TargetTy = GEP.getPointerOperandType()->getScalarType(); in visitGetElementPtrInst() 1899 Assert2(GEP.getType()->getScalarType()->isPointerTy() && in visitGetElementPtrInst() 1900 cast<PointerType>(GEP.getType()->getScalarType())->getElementType() in visitGetElementPtrInst()
|
H A D | Instructions.cpp | 1371 PointerType *PTy = dyn_cast<PointerType>(Ptr->getScalarType()); in getIndexedTypeInternal() 2907 return SrcTy->getScalarType()->isPointerTy() && in castIsValid() 2908 DstTy->getScalarType()->isIntegerTy(); in castIsValid() 2915 return SrcTy->getScalarType()->isIntegerTy() && in castIsValid() 2916 DstTy->getScalarType()->isPointerTy(); in castIsValid() 2918 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() 2919 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid() 2946 PointerType *SrcPtrTy = dyn_cast<PointerType>(SrcTy->getScalarType()); in castIsValid() 2950 PointerType *DstPtrTy = dyn_cast<PointerType>(DstTy->getScalarType()); in castIsValid()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | GVN.cpp | 878 if (StoredValTy->getScalarType()->isPointerTy() && in CoerceAvailableValueToLoadType() 879 LoadedTy->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType() 883 if (StoredValTy->getScalarType()->isPointerTy()) { in CoerceAvailableValueToLoadType() 889 if (TypeToCastTo->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType() 896 if (LoadedTy->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType() 908 if (StoredValTy->getScalarType()->isPointerTy()) { in CoerceAvailableValueToLoadType() 934 if (LoadedTy->getScalarType()->isPointerTy()) in CoerceAvailableValueToLoadType() 1130 if (SrcVal->getType()->getScalarType()->isPointerTy()) in GetStoreValueForLoad() 1308 if (V->getType()->getScalarType()->isPointerTy()) { in ConstructSSAForLoadSet() 1700 if (V->getType()->getScalarType()->isPointerTy()) in PerformLoadPRE() [all …]
|
H A D | MergedLoadStoreMotion.cpp | 185 if (Inst->getType()->getScalarType()->isPointerTy()) { in INITIALIZE_PASS_DEPENDENCY() 454 if (NewPN->getType()->getScalarType()->isPointerTy()) { in getPHIOperand()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 211 EVT getScalarType() const { in getScalarType() function 241 return getScalarType().getSizeInBits(); in getScalarSizeInBits()
|
H A D | MachineValueType.h | 271 MVT getScalarType() const { in getScalarType() function 444 return getScalarType().getSizeInBits(); in getScalarSizeInBits()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Target/ |
H A D | TargetSelectionDAG.td | 705 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::i1; 708 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8; 711 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16; 714 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::i32; 717 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::f32; 720 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::f64; 724 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::i1; 727 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::i8; 730 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::i16; 737 return cast<LoadSDNode>(N)->getMemoryVT().getScalarType() == MVT::i1; [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 1222 Type *DstVecTy = DstTy->getScalarType(); in executeTruncInst() 1242 const Type *DstVecTy = DstTy->getScalarType(); in executeSExtInst() 1262 const Type *DstVecTy = DstTy->getScalarType(); in executeZExtInst() 1284 DstTy->getScalarType()->isFloatTy() && in executeFPTruncInst() 1329 const Type *DstVecTy = DstTy->getScalarType(); in executeFPToUIInst() 1330 const Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToUIInst() 1367 const Type *DstVecTy = DstTy->getScalarType(); in executeFPToSIInst() 1368 const Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToSIInst() 1403 const Type *DstVecTy = DstTy->getScalarType(); in executeUIToFPInst() 1509 SrcElemTy = SrcTy->getScalarType(); in executeBitCastInst() [all …]
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | Local.h | 208 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
H A D | AMDGPUISelLowering.cpp | 428 EVT ScalarVT = VT.getScalarType(); in isFPImmLegal() 434 EVT ScalarVT = VT.getScalarType(); in ShouldShrinkFPConstant() 466 unsigned LScalarSize = LoadTy.getScalarType().getSizeInBits(); in isLoadBitCastBeneficial() 467 unsigned CastScalarSize = CastTy.getScalarType().getSizeInBits(); in isLoadBitCastBeneficial() 513 unsigned SrcSize = DL->getTypeSizeInBits(Src->getScalarType()); in isZExtFree() 514 unsigned DestSize = DL->getTypeSizeInBits(Dest->getScalarType()); in isZExtFree() 1448 EVT MemEltVT = MemVT.getScalarType(); in LowerLOAD() 1545 unsigned BitSize = VT.getScalarType().getSizeInBits(); in LowerDIVREM24() 2126 MVT ScalarVT = VT.getScalarType(); in LowerSIGN_EXTEND_INREG() 2139 SDValue VTOp = DAG.getValueType(ExtraVT.getScalarType()); in LowerSIGN_EXTEND_INREG()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 726 VectorType::get(I->getType()->getScalarType(), in BuildNew() 749 return UndefValue::get(VectorType::get(V->getType()->getScalarType(), in EvaluateInDifferentElementOrder() 754 VectorType::get(V->getType()->getScalarType(), in EvaluateInDifferentElementOrder()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZOperators.td | 340 unsigned BitWidth = N->getValueType(0).getScalarType().getSizeInBits(); 348 unsigned BitWidth = N->getValueType(0).getScalarType().getSizeInBits();
|