| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| DerivedTypes.h | 442 static VectorType *getInteger(VectorType *VTy) { 443 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); 445 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); 446 return VectorType::get(EltTy, VTy->getElementCount()); 451 static VectorType *getExtendedElementVectorType(VectorType *VTy) { 452 assert(VTy->isIntOrIntVectorTy() && "VTy expected to be a vector of ints."); 453 auto *EltTy = cast<IntegerType>(VTy->getElementType()); 454 return VectorType::get(EltTy->getExtendedType(), VTy->getElementCount()); 460 static VectorType *getTruncatedElementVectorType(VectorType *VTy) { [all...] |
| GetElementPtrTypeIterator.h | 85 } else if (auto *VTy = dyn_cast<VectorType>(Ty)) { 86 CurTy = VTy->getElementType(); 87 if (isa<ScalableVectorType>(VTy)) 90 NumElements = cast<FixedVectorType>(VTy)->getNumElements();
|
| GlobalObject.h | 44 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, 47 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace),
|
| GlobalIndirectSymbol.h | 30 GlobalIndirectSymbol(Type *Ty, ValueTy VTy, unsigned AddressSpace,
|
| DataLayout.h | 692 VectorType *VTy = cast<VectorType>(Ty); 693 auto EltCnt = VTy->getElementCount(); 695 getTypeSizeInBits(VTy->getElementType()).getFixedSize();
|
| GlobalValue.h | 76 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, 78 : Constant(PointerType::get(Ty, AddressSpace), VTy, Ops, NumOps),
|
| Value.h | 76 Type *VTy; 256 Type *getType() const { return VTy; } 806 VTy = Ty;
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| LowLevelType.cpp | 22 if (auto VTy = dyn_cast<VectorType>(&Ty)) { 23 auto NumElements = cast<FixedVectorType>(VTy)->getNumElements(); 24 LLT ScalarTy = getLLTForType(*VTy->getElementType(), DL);
|
| InterleavedLoadCombinePass.cpp | 638 VectorInfo(const VectorInfo &c) : VTy(c.VTy) { 676 FixedVectorType *const VTy; 678 VectorInfo(FixedVectorType *VTy) 679 : BB(nullptr), PV(nullptr), LIs(), Is(), SVI(nullptr), VTy(VTy) { 680 EI = new ElementInfo[VTy->getNumElements()]; 685 unsigned getDimension() const { return VTy->getNumElements(); } 695 unsigned Size = DL.getTypeAllocSize(VTy->getElementType()); 738 FixedVectorType *VTy = dyn_cast<FixedVectorType>(Op->getType()) [all...] |
| ValueTypes.cpp | 146 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 147 return VTy->getPrimitiveSizeInBits(); 522 VectorType *VTy = cast<VectorType>(Ty); 524 getVT(VTy->getElementType(), /*HandleUnknown=*/ false), 525 VTy->getElementCount()); 541 VectorType *VTy = cast<VectorType>(Ty); 543 getEVT(VTy->getElementType(), /*HandleUnknown=*/ false), 544 VTy->getElementCount());
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyTargetTransformInfo.cpp | 64 if (auto *VTy = dyn_cast<VectorType>(Ty)) { 75 cast<FixedVectorType>(VTy)->getNumElements() * 77 getArithmeticInstrCost(Opcode, VTy->getElementType(), CostKind) +
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
| RISCVTargetTransformInfo.cpp | 152 auto *VTy = cast<FixedVectorType>(DataTy); 153 unsigned NumLoads = VTy->getNumElements(); 155 getMemoryOpCost(Opcode, VTy->getElementType(), Alignment, 0, CostKind, I);
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| VFABIDemangling.cpp | 285 if (auto *VTy = dyn_cast<VectorType>(Ty)) 286 VecTys.push_back(VTy); 293 return llvm::all_of(llvm::drop_begin(VecTys), [&EC](VectorType *VTy) { 294 return (EC == VTy->getElementCount()); 310 if (auto *VTy = dyn_cast<VectorType>(Ty)) 311 return VTy->getElementCount();
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| Constants.cpp | 163 if (auto *VTy = dyn_cast<VectorType>(this->getType())) { 164 unsigned NumElts = cast<FixedVectorType>(VTy)->getNumElements(); 213 if (auto *VTy = dyn_cast<VectorType>(this->getType())) { 214 unsigned NumElts = cast<FixedVectorType>(VTy)->getNumElements(); 230 auto *VTy = dyn_cast<FixedVectorType>(getType()); 231 if (!VTy) 233 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) { 244 auto *VTy = dyn_cast<FixedVectorType>(getType()); 245 if (!VTy) 247 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) [all...] |
| Function.cpp | 807 } else if (VectorType* VTy = dyn_cast<VectorType>(Ty)) { 808 ElementCount EC = VTy->getElementCount(); 812 getMangledTypeStr(VTy->getElementType(), HasUnnamedType); 1217 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 1218 return VectorType::getExtendedElementVectorType(VTy); 1224 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 1225 return VectorType::getTruncatedElementVectorType(VTy); 1234 VectorType *VTy = dyn_cast<VectorType>(Ty); 1235 assert(VTy && "Expected an argument of Vector Type"); 1237 return VectorType::getSubdividedVectorType(VTy, SubDivs) [all...] |
| Value.cpp | 59 : VTy(checkType(ty)), UseList(nullptr), SubclassID(scid), HasValueHandle(0), 68 assert((VTy->isFirstClassType() || VTy->isVoidTy() || VTy->isStructTy()) && 72 assert((VTy->isFirstClassType() || VTy->isVoidTy()) && 100 dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n"; 952 LLVMContext &Value::getContext() const { return VTy->getContext(); }
|
| Type.cpp | 137 const VectorType *VTy = cast<VectorType>(this); 138 ElementCount EC = VTy->getElementCount(); 139 TypeSize ETS = VTy->getElementType()->getPrimitiveSizeInBits(); 153 if (auto *VTy = dyn_cast<VectorType>(this)) 154 return VTy->getElementType()->getFPMantissaWidth(); 170 if (auto *VTy = dyn_cast<VectorType>(this)) 171 return VTy->getElementType()->isSized(Visited);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| BasicTTIImpl.h | 86 InstructionCost getBroadcastShuffleOverhead(FixedVectorType *VTy) { 90 Cost += thisT()->getVectorInstrCost(Instruction::ExtractElement, VTy, 0); 92 for (int i = 0, e = VTy->getNumElements(); i < e; ++i) { 93 Cost += thisT()->getVectorInstrCost(Instruction::InsertElement, VTy, i); 100 InstructionCost getPermuteShuffleOverhead(FixedVectorType *VTy) { 109 for (int i = 0, e = VTy->getNumElements(); i < e; ++i) { 110 Cost += thisT()->getVectorInstrCost(Instruction::InsertElement, VTy, i); 111 Cost += thisT()->getVectorInstrCost(Instruction::ExtractElement, VTy, i); 118 InstructionCost getExtractSubvectorOverhead(VectorType *VTy, int Index, 120 assert(VTy && SubVTy & [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| InstCombineSimplifyDemanded.cpp | 115 Type *VTy = V->getType(); 117 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) && 128 return UndefValue::get(VTy); 133 if (isa<ScalableVectorType>(VTy)) 175 return Constant::getIntegerValue(VTy, Known.One); 204 return Constant::getIntegerValue(VTy, Known.One); 242 return Constant::getIntegerValue(VTy, Known.One); 267 Constant *AndC = Constant::getIntegerValue(VTy, 280 I->setOperand(1, ConstantInt::getAllOnesValue(VTy)); [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-stress/ |
| llvm-stress.cpp | 548 Type *VTy = V->getType(); 552 if (VTy->isVectorTy()) { 553 auto *VecTy = cast<FixedVectorType>(VTy); 558 if (VTy == DestTy) return; 561 if (VTy->isPointerTy()) { 568 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); 578 if (VTy->isIntOrIntVectorTy() && DestTy->isIntOrIntVectorTy()) { 592 if (VTy->isFPOrFPVectorTy() && DestTy->isIntOrIntVectorTy()) { 600 if (VTy->isIntOrIntVectorTy() && DestTy->isFPOrFPVectorTy()) { 608 if (VTy->isFPOrFPVectorTy() && DestTy->isFPOrFPVectorTy()) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGBuiltin.cpp | 5372 llvm::VectorType *VTy = cast<llvm::VectorType>(Ty); 5375 int EltSize = VTy->getScalarSizeInBits(); 5384 return llvm::ConstantAggregateZero::get(VTy); 5389 Shift = ConstantInt::get(VTy->getElementType(), ShiftAmt); 6372 llvm::FixedVectorType *VTy = 6374 llvm::Type *Ty = VTy; 6392 auto NumElements = VTy->getElementCount(); 6398 Ops[0] = Builder.CreateBitCast(Ops[0], VTy); 6404 if (VTy->getElementType()->isFloatingPointTy() && 6410 if (VTy->getElementType()->isFloatingPointTy() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| SystemZTargetTransformInfo.cpp | 377 auto *VTy = cast<FixedVectorType>(Ty); 378 unsigned WideBits = getScalarSizeInBits(Ty) * VTy->getNumElements(); 485 auto *VTy = cast<FixedVectorType>(Ty); 486 unsigned VF = VTy->getNumElements(); 500 return VF * DivMulSeqCost + getScalarizationOverhead(VTy, Args, Tys); 526 (VF * ScalarCost) + getScalarizationOverhead(VTy, Args, Tys); 545 (VF * LIBCALL_COST) + getScalarizationOverhead(VTy, Args, Tys);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| SVEIntrinsicOpts.cpp | 393 VectorType *VTy = cast<VectorType>(I->getType()); 403 SplatValue->getValue().uge(VTy->getElementCount().getKnownMinValue())) 413 Builder.CreateVectorSplat(VTy->getElementCount(), Extract);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| MemProfiler.cpp | 417 auto *VTy = cast<FixedVectorType>( 419 uint64_t ElemTypeSize = DL.getTypeStoreSizeInBits(VTy->getScalarType()); 420 unsigned Num = VTy->getNumElements(); 443 IRB.CreateGEP(VTy, Addr, {Zero, ConstantInt::get(IntptrTy, Idx)});
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/ |
| TruncInstCombine.cpp | 291 if (auto *VTy = dyn_cast<VectorType>(V->getType())) 292 return VectorType::get(Ty, VTy->getElementCount());
|