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

1 2

  /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);
  /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/Hexagon/
HexagonTargetObjectFile.cpp 313 const VectorType *PTy = cast<const VectorType>(Ty);
314 return getSmallestAddressableSize(PTy->getElementType(), GV, TM);
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...]
HexagonLoopIdiomRecognition.cpp 1115 Type *PTy = P->getType();
1116 if (PTy != Ty0) {
1120 Value *T = IRBuilder<>(ExitB, End).CreateTrunc(P, PTy);
1122 P->mutateType(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/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/clang/lib/CodeGen/
CodeGenTypes.cpp 640 const PointerType *PTy = cast<PointerType>(Ty);
641 QualType ETy = PTy->getPointeeType();
CGDeclCXX.cpp 200 llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace);
201 DeclPtr = llvm::ConstantExpr::getAddrSpaceCast(DeclPtr, PTy);
CGDecl.cpp 2648 llvm::PointerType *PTy = llvm::PointerType::get(Ty, TargetAS);
2659 Entry->mutateType(PTy);
CGExprCXX.cpp 134 const auto *PTy = BaseExpr->getType()->castAs<PointerType>();
135 BaseQuals = PTy->getPointeeType().getQualifiers();
173 if (const PointerType *PTy = T->getAs<PointerType>())
174 T = PTy->getPointeeType();
CGObjC.cpp 1702 const ObjCObjectPointerType *PTy = cast<ObjCObjectPointerType>(
1704 return 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/include/llvm/IR/
DataLayout.h 397 auto *PTy = dyn_cast<PointerType>(Ty);
398 return PTy && isNonIntegralPointerType(PTy);
  /src/external/apache2/llvm/dist/llvm/lib/AsmParser/
LLParser.cpp 1005 auto *PTy = dyn_cast<PointerType>(AliaseeType);
1006 if (!PTy)
1008 unsigned AddrSpace = PTy->getAddressSpace();
1010 if (IsAlias && Ty != PTy->getElementType()) {
1015 PTy->getElementType()));
1018 if (!IsAlias && !PTy->getElementType()->isFunctionTy()) {
1483 static inline GlobalValue *createGlobalFwdRef(Module *M, PointerType *PTy,
1485 if (auto *FT = dyn_cast<FunctionType>(PTy->getElementType()))
1487 PTy->getAddressSpace(), Name, M);
1489 return new GlobalVariable(*M, PTy->getElementType(), false
    [all...]
  /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/lib/Analysis/
ConstantFolding.cpp 554 auto *PTy = cast<PointerType>(C->getType());
559 unsigned AS = PTy->getAddressSpace();
941 auto *PTy = cast<PointerType>(Ptr->getType());
943 !DL.isNonIntegralPointerType(PTy)) {
952 Type *Ty = PTy;
InlineCost.cpp 2446 PointerType *PTy = cast<PointerType>(Call.getArgOperand(I)->getType());
2448 unsigned AS = PTy->getAddressSpace();
2531 PointerType *PTy = cast<PointerType>(Call.getArgOperand(I)->getType());
2532 if (PTy->getAddressSpace() != AllocaAS)
  /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);
  /src/external/apache2/llvm/dist/clang/lib/AST/
Expr.cpp 69 if (const PointerType *PTy = DerivedType->getAs<PointerType>())
70 DerivedType = PTy->getPointeeType();
2095 const PointerType *PTy = PExp->getType()->getAs<PointerType>();
2096 if (!PTy || !PTy->getPointeeType()->isCharType())
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCalls.cpp 2301 PointerType *PTy = cast<PointerType>(Callee->getType());
2302 FunctionType *FTy = cast<FunctionType>(PTy->getElementType());
2656 Type *PTy = getPromotedType((*AI)->getType());
2658 if (PTy != (*AI)->getType()) {
2661 CastInst::getCastOpcode(*AI, false, PTy, false);
2662 NewArg = Builder.CreateCast(opcode, *AI, PTy);
InstCombineCasts.cpp 87 PointerType *PTy = cast<PointerType>(CI.getType());
94 Type *CastElTy = PTy->getElementType();
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
BitcodeWriter.cpp 938 PointerType *PTy = cast<PointerType>(T);
939 unsigned AddressSpace = PTy->getAddressSpace();
940 if (PTy->isOpaque()) {
949 TypeVals.push_back(VE.getTypeID(PTy->getElementType()));

Completed in 231 milliseconds

1 2