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

123

/freebsd-10.1-release/contrib/llvm/include/llvm/Support/
H A DGetElementPtrTypeIterator.h87 (GEP->getOperand(0)->getType()->getScalarType(), GEP->op_begin()+1);
94 (GEP.getOperand(0)->getType()->getScalarType(), GEP.op_begin()+1);
/freebsd-10.1-release/contrib/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp186 TempValues.push_back(getRandomConstant(VTp->getScalarType()));
334 bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy();
368 case 0: if (Ty->getScalarType()->isIntegerTy())
370 case 1: if (Ty->getScalarType()->isIntegerTy())
463 Value *Val1 = getRandomValue(Val0->getType()->getScalarType());
499 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits();
500 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
509 if (VTy->getScalarType()->isIntegerTy() &&
510 DestTy->getScalarType()->isIntegerTy()) {
524 if (VTy->getScalarType()
[all...]
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp239 bool IsFloat = Ty->getScalarType()->isFloatingPointTy();
263 unsigned Cost = TopTTI->getArithmeticInstrCost(Opcode, Ty->getScalarType());
348 unsigned Cost = TopTTI->getCastInstrCost(Opcode, Dst->getScalarType(),
349 Src->getScalarType());
397 CondTy = CondTy->getScalarType();
398 unsigned Cost = TopTTI->getCmpSelInstrCost(Opcode, ValTy->getScalarType(),
497 unsigned Cost = TopTTI->getIntrinsicInstrCost(IID, RetTy->getScalarType(),
/freebsd-10.1-release/contrib/llvm/include/llvm/IR/
H A DType.h186 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();
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/
H A DAMDILISelLowering.cpp228 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()
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp264 if (CI->getArgOperand(0)->getType()->getScalarType()->
345 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType()))
354 J->getType()->getScalarType()->isPPC_FP128Ty()) {
360 if (CI->getSrcTy()->getScalarType()->isPPC_FP128Ty() ||
361 CI->getDestTy()->getScalarType()->isPPC_FP128Ty() ||
362 isLargeIntegerTy(TT.isArch32Bit(), CI->getSrcTy()->getScalarType()) ||
363 isLargeIntegerTy(TT.isArch32Bit(), CI->getDestTy()->getScalarType()))
366 J->getType()->getScalarType()) &&
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp392 EVT SrcEltVT = SrcVT.getScalarType();
393 EVT DstEltVT = Op.getNode()->getValueType(0).getScalarType();
497 unsigned Stride = SrcVT.getScalarType().getSizeInBits()/8;
501 Op.getNode()->getValueType(0).getScalarType(),
503 SrcVT.getScalarType(),
542 EVT RegSclVT = RegVT.getScalarType();
544 EVT MemSclVT = StVT.getScalarType();
609 EVT BitTy = MaskTy.getScalarType();
646 unsigned BW = VT.getScalarType().getSizeInBits();
647 unsigned OrigBW = OrigTy.getScalarType()
[all...]
H A DSelectionDAG.cpp943 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
953 EVT EltVT = VT.getScalarType();
960 EVT EltVT = VT.getScalarType();
974 EVT EltVT = VT.getScalarType();
1077 EVT EltVT = VT.getScalarType();
1109 EVT EltVT = VT.getScalarType();
1740 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1762 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1953 unsigned EBits = EVT.getScalarType().getSizeInBits();
2002 unsigned MemBits = VT.getScalarType()
[all...]
H A DTargetLowering.cpp374 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth &&
752 InDemandedMask |= APInt::getSignBit(VT.getScalarType().getSizeInBits());
792 unsigned ShAmt = ExVT.getScalarType().getSizeInBits();
810 BitWidth - ExVT.getScalarType().getSizeInBits());
817 APInt::getSignBit(ExVT.getScalarType().getSizeInBits()).zext(BitWidth);
820 ExVT.getScalarType().getSizeInBits()) &
851 Op.getOperand(0).getValueType().getScalarType().getSizeInBits();
873 unsigned InBits = InVT.getScalarType().getSizeInBits();
914 Op.getOperand(0).getValueType().getScalarType().getSizeInBits();
928 Op.getOperand(0).getValueType().getScalarType()
[all...]
H A DDAGCombiner.cpp150 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1549 unsigned DestBits = VT.getScalarType().getSizeInBits();
1838 ConstValue1.getBitWidth() == VT.getScalarType().getSizeInBits();
2499 unsigned BitWidth = VT.getScalarType().getSizeInBits();
2624 Constant.zextOrTrunc(Load->getMemoryVT().getScalarType().getSizeInBits());
2740 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits();
2742 BitWidth - MemVT.getScalarType().getSizeInBits())) &&
2760 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits();
2762 BitWidth - MemVT.getScalarType().getSizeInBits())) &&
3636 unsigned OpSizeInBits = VT.getScalarType()
[all...]
H A DLegalizeIntegerTypes.cpp372 DAG.getValueType(N->getValueType(0).getScalarType()));
403 N->getOperand(0).getValueType().getScalarType());
608 EVT HalfNVT = EVT::getVectorVT(*DAG.getContext(), NVT.getScalarType(),
988 OpTy.getScalarType() : OpTy);
1063 N->getOperand(0).getValueType().getScalarType());
1367 unsigned ShBits = ShTy.getScalarType().getSizeInBits();
1368 unsigned NVTBits = NVT.getScalarType().getSizeInBits();
2116 assert(ShiftTy.getScalarType().getSizeInBits() >=
2117 Log2_32_Ceil(VT.getScalarType().getSizeInBits()) &&
3029 V0->getValueType(0).getScalarType(), V
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Scalar/
H A DGVN.cpp871 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()) {
1687 if (V->getType()->getScalarType()
[all...]
H A DSROA.cpp1265 unsigned ElementSizeInBits = DL.getTypeSizeInBits(VecTy->getScalarType());
1466 OldTy = OldTy->getScalarType();
1467 NewTy = NewTy->getScalarType();
1500 if (OldTy->getScalarType()->isIntegerTy() &&
1501 NewTy->getScalarType()->isPointerTy()) {
1517 if (OldTy->getScalarType()->isPointerTy() &&
1518 NewTy->getScalarType()->isIntegerTy()) {
1623 uint64_t ElementSize = DL.getTypeSizeInBits(Ty->getScalarType());
2324 Type *ScalarTy = AllocaTy->getScalarType();
/freebsd-10.1-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DLocal.h198 unsigned IntPtrWidth = IntPtrTy->getScalarType()->getIntegerBitWidth();
/freebsd-10.1-release/contrib/llvm/lib/IR/
H A DInstruction.cpp342 getType()->getScalarType() != I->getType()->getScalarType() :
350 getOperand(i)->getType()->getScalarType() !=
351 I->getOperand(i)->getType()->getScalarType() :
H A DType.cpp43 /// 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();
219 return cast<PointerType>(getScalarType())->getAddressSpace();
649 if (!V->getType()->getScalarType()->isIntegerTy(32))
H A DDataLayout.cpp517 return getTypeSizeInBits(Ty->getScalarType());
618 unsigned NumBits = getTypeSizeInBits(Ty->getScalarType());
H A DVerifier.cpp1419 Assert1(SrcTy->getScalarType()->isPointerTy(),
1421 Assert1(DestTy->getScalarType()->isIntegerTy(),
1441 Assert1(SrcTy->getScalarType()->isIntegerTy(),
1443 Assert1(DestTy->getScalarType()->isPointerTy(),
1672 Assert1(Op0Ty->isIntOrIntVectorTy() || Op0Ty->getScalarType()->isPointerTy(),
1722 Type *TargetTy = GEP.getPointerOperandType()->getScalarType();
1737 Assert2(GEP.getType()->getScalarType()->isPointerTy() &&
1738 cast<PointerType>(GEP.getType()->getScalarType())->getElementType()
H A DConstants.cpp147 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();
1649 assert(C->getType()->getScalarType()->isPointerTy() &&
1651 assert(DstTy->getScalarType()->isIntegerTy() &&
1661 assert(C->getType()->getScalarType()->isIntegerTy() &&
1663 assert(DstTy->getScalarType()
[all...]
/freebsd-10.1-release/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1221 Type *DstVecTy = DstTy->getScalarType();
1241 const Type *DstVecTy = DstTy->getScalarType();
1261 const Type *DstVecTy = DstTy->getScalarType();
1282 assert(SrcVal->getType()->getScalarType()->isDoubleTy() &&
1283 DstTy->getScalarType()->isFloatTy() &&
1305 assert(SrcVal->getType()->getScalarType()->isFloatTy() &&
1306 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction");
1328 const Type *DstVecTy = DstTy->getScalarType();
1329 const Type *SrcVecTy = SrcTy->getScalarType();
1366 const Type *DstVecTy = DstTy->getScalarType();
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/CodeGen/
H A DValueTypes.h257 /// getScalarType - If this is a vector type, return the element type,
259 MVT getScalarType() const { function in class:llvm::MVT
754 /// getScalarType - If this is a vector type, return the element type,
756 EVT getScalarType() const { function in struct:llvm::EVT
/freebsd-10.1-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp665 VectorType::get(I->getType()->getScalarType(),
688 return UndefValue::get(VectorType::get(V->getType()->getScalarType(),
693 VectorType::get(V->getType()->getScalarType(),
770 VectorType::get(V->getType()->getScalarType(), Mask.size()));
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp534 if (Val->getScalarType()->isFloatingPointTy() && Index == 0)
576 VTy->getScalarType(),
/freebsd-10.1-release/contrib/llvm/lib/Analysis/
H A DValueTracking.cpp236 V->getType()->getScalarType()->isPointerTy()) &&
239 TD->getTypeSizeInBits(V->getType()->getScalarType()) == BitWidth) &&
438 SrcBitWidth = TD->getTypeSizeInBits(SrcTy->getScalarType());
1004 unsigned BitWidth = getBitWidth(V->getType()->getScalarType(), TD);
1139 unsigned TyBits = TD ? TD->getTypeSizeInBits(V->getType()->getScalarType()) :
/freebsd-10.1-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp678 switch (VT.getScalarType().getSizeInBits()) {
756 switch (VT.getScalarType().getSizeInBits()) {
815 switch (VT.getScalarType().getSizeInBits()) {
893 switch (VT.getScalarType().getSizeInBits()) {

Completed in 429 milliseconds

123