/external/llvm/lib/Target/R600/ |
H A D | SITypeRewriter.cpp | 83 Type *PtrTy = Ptr->getType(); local 84 Type *ElemTy = PtrTy->getPointerElementType(); 88 PointerType::get(v4i32,PtrTy->getPointerAddressSpace()));
|
H A D | R600ISelLowering.cpp | 1689 PointerType *PtrTy = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), local 1706 MachinePointerInfo(UndefValue::get(PtrTy)),
|
H A D | SIISelLowering.cpp | 292 PointerType *PtrTy = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), local 299 MachinePointerInfo(UndefValue::get(PtrTy)), MemVT,
|
H A D | AMDGPUISelLowering.cpp | 604 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 D | StackProtector.cpp | 340 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 D | ThreadSanitizer.cpp | 154 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 D | AddressSanitizer.cpp | 1061 PointerType *PtrTy = cast<PointerType>(G->getType()); local 1062 Type *Ty = PtrTy->getElementType();
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 65 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 D | ScalarReplAggregates.cpp | 507 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 D | CGException.cpp | 945 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 D | CGExprAgg.cpp | 586 QualType PtrTy = CGF.getContext().getPointerType(Ty); local 588 CGF.ConvertType(PtrTy));
|
H A D | CGBuiltin.cpp | 1082 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 D | CGExpr.cpp | 2486 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 D | CGObjCGNU.cpp | 145 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 D | TargetInfo.cpp | 1016 CanQualType PtrTy = getContext().getPointerType(FI.getReturnType()); local 1017 addFieldToArgStruct(FrameFields, StackOffset, Ret, PtrTy);
|
H A D | CGObjCMac.cpp | 4662 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 D | CStringChecker.cpp | 353 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 D | InstructionSimplify.cpp | 2758 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 D | Instructions.h | 880 Type *PtrTy = PointerType::get(checkGEPType( local 886 return VectorType::get(PtrTy, NumElem); 890 return PtrTy;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 2309 Type *PtrTy = PtrVT.getTypeForEVT(*DAG.getContext()); local 2341 Entry.Ty = PtrTy->getPointerTo();
|
H A D | TargetLowering.cpp | 2290 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); local 2291 if (!PtrTy) 2293 OpTy = PtrTy->getElementType();
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEISelLowering.cpp | 2153 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 D | MipsISelLowering.cpp | 1649 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 D | X86FastISel.cpp | 2283 EVT PtrTy = TLI.getPointerTy(); local 2293 if (!X86FastEmitStore(PtrTy, Op1, AM)) return false;
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 865 Type *InstCombiner::FindElementAtOffset(Type *PtrTy, int64_t Offset, argument 867 assert(PtrTy->isPtrOrPtrVectorTy()); 872 Type *Ty = PtrTy->getPointerElementType(); 879 Type *IntPtrTy = DL->getIntPtrType(PtrTy);
|