Searched defs:PtrTy (Results 1 - 25 of 31) sorted by relevance

12

/external/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp83 Type *PtrTy = Ptr->getType(); local
84 Type *ElemTy = PtrTy->getPointerElementType();
88 PointerType::get(v4i32,PtrTy->getPointerAddressSpace()));
H A DR600ISelLowering.cpp1689 PointerType *PtrTy = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), local
1706 MachinePointerInfo(UndefValue::get(PtrTy)),
H A DSIISelLowering.cpp292 PointerType *PtrTy = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), local
299 MachinePointerInfo(UndefValue::get(PtrTy)), MemVT,
H A DAMDGPUISelLowering.cpp604 PointerType *PtrTy = PointerType::get(InitTy, AMDGPUAS::PRIVATE_ADDRESS); local
606 MachinePointerInfo(UndefValue::get(PtrTy)), false, false,
612 PointerType *PtrTy = PointerType::get(CFP->getType(), 0); local
614 MachinePointerInfo(UndefValue::get(PtrTy)), false, false,
661 PointerType *PtrTy = PointerType::get(InitTy, AMDGPUAS::PRIVATE_ADDRESS); local
663 MachinePointerInfo(UndefValue::get(PtrTy)), false, false,
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp340 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); local
347 OffsetVal, PointerType::get(PtrTy, AddressSpace));
349 StackGuardVar = M->getOrInsertGlobal("__guard_local", PtrTy);
354 StackGuardVar = M->getOrInsertGlobal("__stack_chk_guard", PtrTy);
358 AI = B.CreateAlloca(PtrTy, nullptr, "StackGuardSlot");
/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp154 Type *PtrTy = Ty->getPointerTo(); local
158 AtomicLoadName, Ty, PtrTy, OrdTy, NULL));
163 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy,
188 RMWName, Ty, PtrTy, Ty, OrdTy, NULL));
194 AtomicCASName, Ty, PtrTy, Ty, Ty, OrdTy, OrdTy, NULL));
481 Type *PtrTy = Ty->getPointerTo(); local
482 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
496 Type *PtrTy = Ty->getPointerTo(); local
497 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
514 Type *PtrTy local
528 Type *PtrTy = Ty->getPointerTo(); local
[all...]
H A DAddressSanitizer.cpp1061 PointerType *PtrTy = cast<PointerType>(G->getType()); local
1062 Type *Ty = PtrTy->getElementType();
/external/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp65 PointerType *PtrTy; member in class:__anon26337::Scatterer
185 PtrTy = dyn_cast<PointerType>(Ty);
186 if (PtrTy)
187 Ty = PtrTy->getElementType();
204 if (PtrTy) {
207 PointerType::get(PtrTy->getElementType()->getVectorElementType(),
208 PtrTy->getAddressSpace());
H A DScalarReplAggregates.cpp507 PointerType* PtrTy = dyn_cast<PointerType>(GEP->getPointerOperandType()); local
508 if (!PtrTy)
515 if (!isa<VectorType>(PtrTy->getElementType()))
525 uint64_t GEPOffset = DL.getIndexedOffset(PtrTy,
/external/clang/lib/CodeGen/
H A DCGException.cpp945 llvm::Type *PtrTy = local
949 llvm::Value *ExnPtrTmp = CGF.CreateTempAlloca(PtrTy, "exn.byref.tmp");
950 llvm::Value *Casted = CGF.Builder.CreateBitCast(AdjustedExn, PtrTy);
995 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok local
996 llvm::Value *Cast = CGF.Builder.CreateBitCast(AdjustedExn, PtrTy);
1019 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok local
1026 llvm::Value *adjustedExn = CGF.Builder.CreateBitCast(rawAdjustedExn, PtrTy);
1037 llvm::Value *adjustedExn = CGF.Builder.CreateBitCast(rawAdjustedExn, PtrTy);
H A DCGExprAgg.cpp586 QualType PtrTy = CGF.getContext().getPointerType(Ty); local
588 CGF.ConvertType(PtrTy));
H A DCGBuiltin.cpp1082 QualType PtrTy = E->getArg(0)->IgnoreImpCasts()->getType(); local
1084 PtrTy->castAs<PointerType>()->getPointeeType().isVolatileQualified();
1168 QualType PtrTy = E->getArg(0)->IgnoreImpCasts()->getType(); local
1170 PtrTy->castAs<PointerType>()->getPointeeType().isVolatileQualified();
5684 llvm::Type *PtrTy = llvm::PointerType::getUnqual(Int64Ty); local
5696 Ops[0] = Builder.CreateBitCast(Ops[0], PtrTy);
H A DCGExpr.cpp2486 QualType PtrTy = BaseExpr->getType()->getPointeeType(); local
2487 EmitTypeCheck(TCK_MemberAccess, E->getExprLoc(), Ptr, PtrTy);
2488 BaseLV = MakeNaturalAlignAddrLValue(Ptr, PtrTy);
2531 llvm::Type *PtrTy = llvm::Type::getIntNPtrTy( local
2534 if (Addr->getType() != PtrTy)
2535 Addr = Builder.CreateBitCast(Addr, PtrTy);
H A DCGObjCGNU.cpp145 llvm::PointerType *PtrTy; member in class:__anon17845::CGObjCGNU
699 llvm::StructType *SlotStructTy = llvm::StructType::get(PtrTy,
700 PtrTy, PtrTy, IntTy, IMPTy, nullptr);
712 EnterCatchFn.init(&CGM, "__cxa_begin_catch", PtrTy, PtrTy, nullptr);
717 PtrTy, nullptr);
721 EnterCatchFn.init(&CGM, "objc_begin_catch", IdTy, PtrTy, nullptr);
726 PtrTy, nullptr);
739 CxxAtomicObjectSetFn.init(&CGM, "objc_setCppObjectAtomic", VoidTy, PtrTy,
[all...]
H A DTargetInfo.cpp1016 CanQualType PtrTy = getContext().getPointerType(FI.getReturnType()); local
1017 addFieldToArgStruct(FrameFields, StackOffset, Ret, PtrTy);
H A DCGObjCMac.cpp4662 llvm::Type *PtrTy = CGM.Int8PtrTy; local
4667 CGM.getTypes().getDataLayout().getTypeAllocSize(PtrTy);
4806 llvm::Type *PtrTy = CGM.Int8PtrTy; local
4809 return llvm::Constant::getNullValue(PtrTy);
4827 return llvm::Constant::getNullValue(PtrTy);
4835 return llvm::Constant::getNullValue(PtrTy);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp353 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); local
379 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType());
384 LastOffset, PtrTy);
399 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType());
404 LastOffset, PtrTy);
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2758 PointerType *PtrTy = cast<PointerType>(Ops[0]->getType()->getScalarType()); local
2766 Type *LastType = GetElementPtrInst::getIndexedType(PtrTy, Ops.slice(1));
2767 Type *GEPTy = PointerType::get(LastType, PtrTy->getAddressSpace());
2779 Type *Ty = PtrTy->getElementType();
/external/llvm/include/llvm/IR/
H A DInstructions.h880 Type *PtrTy = PointerType::get(checkGEPType( local
886 return VectorType::get(PtrTy, NumElem);
890 return PtrTy;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp2309 Type *PtrTy = PtrVT.getTypeForEVT(*DAG.getContext()); local
2341 Entry.Ty = PtrTy->getPointerTo();
H A DTargetLowering.cpp2290 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); local
2291 if (!PtrTy)
2293 OpTy = PtrTy->getElementType();
/external/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp2153 EVT PtrTy = Address->getValueType(0); local
2155 Address = DAG.getNode(ISD::ADD, DL, PtrTy, Address, Offset);
2221 EVT PtrTy = Address->getValueType(0); local
2223 Address = DAG.getNode(ISD::ADD, DL, PtrTy, Address, Offset);
H A DMipsISelLowering.cpp1649 IntegerType *PtrTy = Type::getIntNTy(*DAG.getContext(), PtrSize); local
1656 Entry.Ty = PtrTy;
1661 .setCallee(CallingConv::C, PtrTy, TlsGetAddr, std::move(Args), 0);
3550 EVT PtrTy = getPointerTy(); local
3552 SDValue FIN = DAG.getFrameIndex(FI, PtrTy);
3566 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN,
3567 DAG.getConstant(Offset, PtrTy));
3587 EVT PtrTy = getPointerTy(), RegTy = MVT::getIntegerVT(RegSizeInBytes * 8); local
3597 SDValue LoadPtr = DAG.getNode(ISD::ADD, DL, PtrTy, Arg,
3598 DAG.getConstant(OffsetInBytes, PtrTy));
[all...]
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp2283 EVT PtrTy = TLI.getPointerTy(); local
2293 if (!X86FastEmitStore(PtrTy, Op1, AM)) return false;
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp865 Type *InstCombiner::FindElementAtOffset(Type *PtrTy, int64_t Offset, argument
867 assert(PtrTy->isPtrOrPtrVectorTy());
872 Type *Ty = PtrTy->getPointerElementType();
879 Type *IntPtrTy = DL->getIntPtrType(PtrTy);

Completed in 482 milliseconds

12