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

1 2

  /external/llvm/include/llvm/IR/
DerivedTypes.h 374 static VectorType *getInteger(VectorType *VTy) {
375 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
377 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits);
378 return VectorType::get(EltTy, VTy->getNumElements());
385 static VectorType *getExtendedElementVectorType(VectorType *VTy) {
386 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
387 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2);
388 return VectorType::get(EltTy, VTy->getNumElements());
395 static VectorType *getTruncatedElementVectorType(VectorType *VTy) {
396 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits()
    [all...]
GlobalObject.h 30 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
33 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace),
DataLayout.h 544 VectorType *VTy = cast<VectorType>(Ty);
545 return VTy->getNumElements() * getTypeSizeInBits(VTy->getElementType());
GlobalValue.h 68 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
70 : Constant(PointerType::get(Ty, AddressSpace), VTy, Ops, NumOps),
Value.h 69 Type *VTy;
223 Type *getType() const { return VTy; }
528 VTy = Ty;
IRBuilder.h     [all...]
  /external/llvm/lib/IR/
ValueTypes.cpp 109 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy))
110 return VTy->getBitWidth();
294 VectorType *VTy = cast<VectorType>(Ty);
296 getVT(VTy->getElementType(), false), VTy->getNumElements());
311 VectorType *VTy = cast<VectorType>(Ty);
312 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false),
313 VTy->getNumElements());
Value.cpp 48 : VTy(checkType(ty)), UseList(nullptr), SubclassID(scid),
55 assert((VTy->isFirstClassType() || VTy->isVoidTy() || VTy->isStructTy()) &&
59 assert((VTy->isFirstClassType() || VTy->isVoidTy()) &&
77 dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n";
528 LLVMContext &Value::getContext() const { return VTy->getContext(); }
Function.cpp 790 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
791 return VectorType::getExtendedElementVectorType(VTy);
797 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
798 return VectorType::getTruncatedElementVectorType(VTy);
810 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) {
811 return VectorType::get(EltTy, VTy->getNumElements());
821 VectorType *VTy = dyn_cast<VectorType>(Ty);
822 if (!VTy)
824 Type *EltTy = VTy->getVectorElementType();
826 VTy->getNumElements())
    [all...]
Constants.cpp 244 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
245 C = ConstantVector::getSplat(VTy->getNumElements(), C);
261 VectorType *VTy = cast<VectorType>(Ty);
262 return ConstantVector::getSplat(VTy->getNumElements(),
263 getAllOnesValue(VTy->getElementType()));
544 VectorType *VTy = dyn_cast<VectorType>(Ty);
545 if (!VTy) {
549 assert(VTy->getElementType()->isIntegerTy(1) &&
551 return ConstantVector::getSplat(VTy->getNumElements(),
556 VectorType *VTy = dyn_cast<VectorType>(Ty)
    [all...]
Type.cpp 47 if (auto *VTy = dyn_cast<VectorType>(this))
48 return VTy->getElementType();
140 if (auto *VTy = dyn_cast<VectorType>(this))
141 return VTy->getElementType()->getFPMantissaWidth();
159 if (auto *VTy = dyn_cast<VectorType>(this))
160 return VTy->getElementType()->isSized(Visited);
ConstantFold.cpp     [all...]
  /external/clang/lib/CodeGen/
CGBuiltin.cpp     [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 111 Type *VTy = V->getType();
113 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) &&
136 return UndefValue::get(VTy);
178 return Constant::getNullValue(VTy);
255 return Constant::getIntegerValue(VTy, RHSKnownOne & LHSKnownOne);
268 return Constant::getNullValue(VTy);
293 return Constant::getIntegerValue(VTy, RHSKnownOne | LHSKnownOne);
341 return Constant::getIntegerValue(VTy, IKnownOne);
367 Constant *AndC = Constant::getIntegerValue(VTy,
    [all...]
InstCombineCalls.cpp     [all...]
  /external/llvm/tools/llvm-stress/
llvm-stress.cpp 488 Type *VTy = V->getType();
492 if (VTy->isVectorTy()) {
493 VectorType *VecTy = cast<VectorType>(VTy);
498 if (VTy == DestTy) return;
501 if (VTy->isPointerTy()) {
508 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits();
518 if (VTy->getScalarType()->isIntegerTy() &&
533 if (VTy->getScalarType()->isFloatingPointTy() &&
542 if (VTy->getScalarType()->isIntegerTy() &&
552 if (VTy->getScalarType()->isFloatingPointTy() &
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCCTRLoops.cpp 370 MVT VTy = TLI->getSimpleValueType(DL, CI->getArgOperand(0)->getType(),
372 if (VTy == MVT::Other)
375 if (TLI->isOperationLegalOrCustom(Opcode, VTy))
377 else if (VTy.isVector() &&
378 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType()))
  /external/llvm/lib/Transforms/Vectorize/
BBVectorize.cpp 477 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) {
478 numElem = VTy->getNumElements();
483 if (VectorType *VTy = dyn_cast<VectorType>(Elem2Ty)) {
484 numElem += VTy->getNumElements();
650 Type *VTy = IPtr->getType()->getPointerElementType();
651 int64_t VTyTSS = (int64_t)DL.getTypeStoreSize(VTy);
654 if (VTy != VTy2 && Offset < 0) {
    [all...]
  /external/llvm/lib/Analysis/
VectorUtils.cpp 369 VectorType *VTy = cast<VectorType>(V->getType());
370 unsigned Width = VTy->getNumElements();
372 return UndefValue::get(VTy->getElementType());
397 return UndefValue::get(VTy->getElementType());
ConstantFolding.cpp 63 VectorType *VTy = dyn_cast<VectorType>(C->getType());
64 if (!VTy)
67 unsigned NumSrcElts = VTy->getNumElements();
68 Type *SrcEltTy = VTy->getElementType();
    [all...]
  /external/llvm/lib/Transforms/Scalar/
SROA.cpp     [all...]
ScalarReplAggregates.cpp 780 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) {
789 unsigned EltSize = DL.getTypeAllocSizeInBits(VTy->getElementType());
    [all...]
  /external/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 632 auto* VTy = dyn_cast<VectorType>(C->getType());
633 Type *ElemTy = VTy->getElementType();
634 unsigned int elemNum = VTy->getNumElements();
    [all...]
  /external/llvm/lib/Target/X86/
X86TargetTransformInfo.cpp     [all...]
  /external/clang/lib/AST/
ASTDiagnostic.cpp 300 const VectorType *VTy = Ty->getAs<VectorType>();
303 const char *Values = VTy->getNumElements() > 1 ? "values" : "value";
304 OS << "'" << S << "' (vector of " << VTy->getNumElements() << " '"
305 << VTy->getElementType().getAsString(Context.getPrintingPolicy())
    [all...]

Completed in 772 milliseconds

1 2