HomeSort by: relevance | last modified time | path
    Searched refs:PTy (Results 1 - 25 of 56) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
LowLevelType.cpp 30 if (auto PTy = dyn_cast<PointerType>(&Ty)) {
31 unsigned AddrSpace = PTy->getAddressSpace();
SwitchLoweringUtils.cpp 285 EVT PTy = TLI->getPointerTy(*DL);
286 if (!TLI->isOperationLegal(ISD::SHL, PTy))
289 int BitWidth = PTy.getSizeInBits();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/
CFGuard.cpp 194 PointerType *PTy = PointerType::get(CalledOperandType, 0);
195 if (GuardFnGlobal->getType() != PTy)
196 GuardFnGlobal = ConstantExpr::getBitCast(GuardFnGlobal, PTy);
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXAsmPrinter.h 163 PointerType *PTy = dyn_cast<PointerType>(v0->getType());
165 if (PTy && PTy->getAddressSpace() != 0) {
NVPTXAsmPrinter.cpp 666 PointerType *Pty = gv->getType();
667 if (Pty->getAddressSpace() != ADDRESS_SPACE_SHARED)
1003 PointerType *PTy = GVar->getType();
1122 emitPTXAddressSpace(PTy->getAddressSpace(), O);
1147 if ((PTy->getAddressSpace() == ADDRESS_SPACE_GLOBAL) ||
1148 (PTy->getAddressSpace() == ADDRESS_SPACE_CONST)) {
1163 Twine(PTy->getAddressSpace()) + ")");
1182 if (((PTy->getAddressSpace() == ADDRESS_SPACE_GLOBAL) ||
1183 (PTy->getAddressSpace() == ADDRESS_SPACE_CONST)) &&
1476 auto *PTy = dyn_cast<PointerType>(Ty)
    [all...]
NVPTXISelLowering.cpp 1342 auto *PTy = dyn_cast<PointerType>(Ty);
1343 assert(PTy && "Param with byval attribute should be a pointer type");
1344 Type *ETy = PTy->getElementType();
1565 auto *PTy = dyn_cast<PointerType>(Args[i].Ty);
1566 assert(PTy && "Type of a byval parameter should be pointer");
1567 ComputePTXValueVTs(*this, DL, PTy->getElementType(), VTs, &Offsets, 0);
2429 auto *PTy = dyn_cast<PointerType>(Ty);
2431 if (!PTy)
2437 auto *STy = dyn_cast<StructType>(PTy->getElementType());
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Module.cpp 159 auto *PTy = PointerType::get(Ty, F->getAddressSpace());
160 if (F->getType() != PTy)
161 return {Ty, ConstantExpr::getBitCast(F, PTy)};
216 PointerType *PTy = PointerType::get(Ty, GVTy->getPointerAddressSpace());
217 if (GVTy != PTy)
218 return ConstantExpr::getBitCast(GV, PTy);
ConstantFold.cpp 118 if (PointerType *PTy = dyn_cast<PointerType>(V->getType()))
120 if (PTy->getAddressSpace() == DPTy->getAddressSpace()
121 && PTy->getElementType()->isSized()) {
126 Type *ElTy = PTy->getElementType();
134 return ConstantExpr::getInBoundsGetElementPtr(PTy->getElementType(),
394 if (PointerType *PTy = dyn_cast<PointerType>(Ty))
395 if (!PTy->getElementType()->isIntegerTy(1))
397 PointerType::get(IntegerType::get(PTy->getContext(), 1),
398 PTy->getAddressSpace()),
471 if (PointerType *PTy = dyn_cast<PointerType>(Ty)
    [all...]
Verifier.cpp 711 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType());
712 Assert(PTy, "wrong type for intrinsic global variable", &GV);
1839 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) {
1841 if (!PTy->getElementType()->isSized(&Visited)) {
1850 if (!isa<PointerType>(PTy->getElementType()))
1857 Assert(Attrs.getByRefType() == PTy->getElementType(),
1862 Assert(Attrs.getByValType() == PTy->getElementType(),
1867 Assert(Attrs.getPreallocatedType() == PTy->getElementType(),
1872 Assert(Attrs.getInAllocaType() == PTy->getElementType(),
3019 if (auto *PTy = dyn_cast<PointerType>(SrcTy->getScalarType())
    [all...]
Type.cpp 97 if (auto *PTy = dyn_cast<PointerType>(this)) {
99 return PTy->getAddressSpace() == OtherPTy->getAddressSpace();
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonCommonGEP.cpp 191 Type *PTy = nullptr; // Type of the pointer operand.
194 GepNode(const GepNode *N) : Flags(N->Flags), Idx(N->Idx), PTy(N->PTy) {
205 if (auto *PTy = dyn_cast<PointerType>(Ty))
206 return PTy->getElementType();
247 OS << " PTy:";
248 if (GN.PTy->isStructTy()) {
249 StructType *STy = cast<StructType>(GN.PTy);
251 OS << GN.PTy->getStructName();
256 OS << *GN.PTy;
    [all...]
HexagonTargetObjectFile.cpp 313 const VectorType *PTy = cast<const VectorType>(Ty);
314 return getSmallestAddressableSize(PTy->getElementType(), GV, TM);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
DataLayout.h 397 auto *PTy = dyn_cast<PointerType>(Ty);
398 return PTy && isNonIntegralPointerType(PTy);
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyFixFunctionBitcasts.cpp 282 auto *PTy = cast<PointerType>(U->get()->getType());
283 auto *Ty = dyn_cast<FunctionType>(PTy->getElementType());
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFAbstractMemberAccess.cpp 444 const auto *PTy = dyn_cast<DICompositeType>(PType);
446 assert(PTy && CTy && "ParentType or ChildType is null or not composite");
448 uint32_t PTyTag = PTy->getTag();
460 return PTy->getBaseType() == CTy->getBaseType();
464 Ty = PTy->getBaseType();
466 Ty = dyn_cast<DIType>(PTy->getElements()[ParentAI]);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
ScalarEvolutionExpander.h 434 PointerType *PTy, Type *Ty, Value *V);
435 Value *expandAddToGEP(const SCEV *Op, PointerType *PTy, Type *Ty, Value *V);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
ScalarEvolutionExpander.cpp 447 PointerType *PTy,
450 Type *OriginalElTy = PTy->getElementType();
460 Type *IntIdxTy = DL.getIndexType(PTy);
557 Type::getInt8PtrTy(Ty->getContext(), PTy->getAddressSpace()));
631 if (V->getType() != PTy)
632 Casted = InsertNoopCastOfTo(Casted, PTy);
640 Value *SCEVExpander::expandAddToGEP(const SCEV *Op, PointerType *PTy, Type *Ty,
643 return expandAddToGEP(Ops, Ops + 1, PTy, Ty, V);
758 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) {
771 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclPrinter.cpp 153 if (const PointerType *PTy = BaseType->getAs<PointerType>())
154 BaseType = PTy->getPointeeType();
167 else if (const ParenType *PTy = BaseType->getAs<ParenType>())
168 BaseType = PTy->desugar();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCall.cpp 2284 QualType PTy = RefTy->getPointeeType();
2285 if (!PTy->isIncompleteType() && PTy->isConstantSizeType())
2287 getMinimumObjectSize(PTy).getQuantity());
2288 if (getContext().getTargetAddressSpace(PTy) == 0 &&
2291 if (PTy->isObjectType()) {
2462 QualType PTy = RefTy->getPointeeType();
2463 if (!PTy->isIncompleteType() && PTy->isConstantSizeType())
2465 getMinimumObjectSize(PTy).getQuantity())
    [all...]
CGDeclCXX.cpp 200 llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace);
201 DeclPtr = llvm::ConstantExpr::getAddrSpaceCast(DeclPtr, PTy);
CodeGenTypes.cpp 640 const PointerType *PTy = cast<PointerType>(Ty);
641 QualType ETy = PTy->getPointeeType();
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaPseudoObject.cpp 1145 if (const ObjCObjectPointerType *PTy =
1147 ResultType = PTy->getPointeeType();
1248 if (const ObjCObjectPointerType *PTy =
1250 ResultType = PTy->getPointeeType();
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
BodyFarm.cpp 420 QualType PTy = PDecl->getType().getNonReferenceType();
421 ParamExpr = M.makeLvalueToRvalue(ParamExpr, PTy);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
LazyValueInfo.cpp 788 PointerType *PTy = dyn_cast<PointerType>(Val->getType());
789 if (PTy && BB->getTerminator() == BBI &&
791 BBLV = ValueLatticeElement::getNot(ConstantPointerNull::get(PTy));
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPULibCalls.cpp 1338 Type *PTy = Fsincos.getFunctionType()->getParamType(1);
1342 if (PTy->getPointerAddressSpace() != AMDGPUAS::PRIVATE_ADDRESS)
1343 P = B.CreateAddrSpaceCast(Alloc, PTy);

Completed in 136 milliseconds

1 2 3