HomeSort by relevance Sort by last modified time
    Searched full:vty (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/clang/test/CodeGen/
vector.c 11 typedef int vty __attribute((vector_size(16))); typedef
12 int test2() { vty b; return b[2LL]; }
  /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,
32 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name), ObjComdat(nullptr) {
Constant.h 47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps)
48 : User(ty, vty, Ops, NumOps) {}
User.h 54 User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps)
55 : Value(ty, vty), NumOperands(NumOps), OperandList(OpList) {}
GlobalValue.h 63 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
65 : Constant(Ty, VTy, Ops, NumOps), Linkage(Linkage),
DataLayout.h 554 VectorType *VTy = cast<VectorType>(Ty);
555 return VTy->getNumElements() * getTypeSizeInBits(VTy->getElementType());
Value.h 70 Type *VTy;
208 Type *getType() const { return VTy; }
456 VTy = Ty;
IRBuilder.h     [all...]
  /external/clang/lib/CodeGen/
CGBuiltin.cpp     [all...]
  /external/llvm/lib/IR/
ValueTypes.cpp 100 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy))
101 return VTy->getBitWidth();
265 VectorType *VTy = cast<VectorType>(Ty);
267 getVT(VTy->getElementType(), false), VTy->getNumElements());
282 VectorType *VTy = cast<VectorType>(Ty);
283 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false),
284 VTy->getNumElements());
Type.cpp 46 if (VectorType *VTy = dyn_cast<VectorType>(this))
47 return VTy->getElementType();
52 if (const VectorType *VTy = dyn_cast<VectorType>(this))
53 return VTy->getElementType();
143 if (const VectorType *VTy = dyn_cast<VectorType>(this))
144 return VTy->getElementType()->getFPMantissaWidth();
162 if (const VectorType *VTy = dyn_cast<VectorType>(this))
163 return VTy->getElementType()->isSized(Visited);
Value.cpp 46 : VTy(checkType(ty)), UseList(nullptr), Name(nullptr), SubclassID(scid),
52 assert((VTy->isFirstClassType() || VTy->isVoidTy() || VTy->isStructTy()) &&
56 assert((VTy->isFirstClassType() || VTy->isVoidTy()) &&
73 dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n";
569 LLVMContext &Value::getContext() const { return VTy->getContext(); }
Constants.cpp 179 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
180 C = ConstantVector::getSplat(VTy->getNumElements(), C);
196 VectorType *VTy = cast<VectorType>(Ty);
197 return ConstantVector::getSplat(VTy->getNumElements(),
198 getAllOnesValue(VTy->getElementType()));
489 VectorType *VTy = dyn_cast<VectorType>(Ty);
490 if (!VTy) {
494 assert(VTy->getElementType()->isIntegerTy(1) &&
496 return ConstantVector::getSplat(VTy->getNumElements(),
501 VectorType *VTy = dyn_cast<VectorType>(Ty)
    [all...]
Function.cpp 676 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
677 return VectorType::getExtendedElementVectorType(VTy);
683 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
684 return VectorType::getTruncatedElementVectorType(VTy);
  /external/llvm/tools/llvm-stress/
llvm-stress.cpp 480 Type *VTy = V->getType();
484 if (VTy->isVectorTy()) {
485 VectorType *VecTy = cast<VectorType>(VTy);
490 if (VTy == DestTy) return;
493 if (VTy->isPointerTy()) {
500 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits();
510 if (VTy->getScalarType()->isIntegerTy() &&
525 if (VTy->getScalarType()->isFloatingPointTy() &&
534 if (VTy->getScalarType()->isIntegerTy() &&
544 if (VTy->getScalarType()->isFloatingPointTy() &
    [all...]
  /external/llvm/lib/Transforms/Vectorize/
BBVectorize.cpp 470 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) {
471 numElem = VTy->getNumElements();
476 if (VectorType *VTy = dyn_cast<VectorType>(Elem2Ty)) {
477 numElem += VTy->getNumElements();
643 Type *VTy = IPtr->getType()->getPointerElementType();
644 int64_t VTyTSS = (int64_t) DL->getTypeStoreSize(VTy);
647 if (VTy != VTy2 && Offset < 0) {
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 108 Type *VTy = V->getType();
109 assert((DL || !VTy->isPointerTy()) &&
111 assert((!DL || DL->getTypeSizeInBits(VTy->getScalarType()) == BitWidth) &&
112 (!VTy->isIntOrIntVectorTy() ||
113 VTy->getScalarSizeInBits() == BitWidth) &&
136 return UndefValue::get(VTy);
176 return Constant::getNullValue(VTy);
256 return Constant::getNullValue(VTy);
337 Constant *AndC = Constant::getIntegerValue(VTy,
482 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName())
    [all...]
InstCombineVectorOps.cpp 67 VectorType *VTy = cast<VectorType>(V->getType());
68 unsigned Width = VTy->getNumElements();
70 return UndefValue::get(VTy->getElementType());
95 return UndefValue::get(VTy->getElementType());
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCCTRLoops.cpp 338 MVT VTy =
340 if (VTy == MVT::Other)
343 if (TLI->isOperationLegalOrCustom(Opcode, VTy))
345 else if (VTy.isVector() &&
346 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType()))
  /external/llvm/lib/Analysis/
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/ExecutionEngine/
ExecutionEngine.cpp 610 const VectorType* VTy = dyn_cast<VectorType>(C->getType());
611 const Type *ElemTy = VTy->getElementType();
612 unsigned int elemNum = VTy->getNumElements();
910 VectorType* VTy = dyn_cast<VectorType>(C->getType());
911 elemNum = VTy->getNumElements()
    [all...]
  /external/llvm/lib/Target/X86/
X86TargetTransformInfo.cpp 781 if (VectorType *VTy = dyn_cast<VectorType>(Src)) {
782 unsigned NumElem = VTy->getVectorNumElements();
786 if (NumElem == 3 && VTy->getScalarSizeInBits() == 32)
791 if (NumElem == 3 && VTy->getScalarSizeInBits() == 64)
798 VTy->getScalarType(),
    [all...]
  /external/clang/lib/AST/
ASTDiagnostic.cpp 236 const VectorType *VTy = Ty->getAs<VectorType>();
239 const char *Values = VTy->getNumElements() > 1 ? "values" : "value";
240 OS << "'" << S << "' (vector of " << VTy->getNumElements() << " '"
241 << VTy->getElementType().getAsString(Context.getPrintingPolicy())
    [all...]
DeclPrinter.cpp 118 else if (const VectorType *VTy = BaseType->getAs<VectorType>())
119 BaseType = VTy->getElementType();
    [all...]

Completed in 5134 milliseconds

1 2 3