Home
last modified time | relevance | path

Searched refs:PtrTy (Results 1 – 21 of 21) sorted by relevance

/external/clang/include/clang/Sema/
DOwnership.h42 template <class PtrTy>
47 typedef llvm::PointerLikeTypeTraits<PtrTy> Traits;
52 static OpaquePtr make(PtrTy P) { OpaquePtr OP; OP.set(P); return OP; } in make()
62 PtrTy get() const { in get()
66 void set(PtrTy P) { in set()
221 template<class PtrTy,
222 bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
224 PtrTy Val;
229 : Val(PtrTy()), Invalid(Invalid) {}
230 ActionResult(PtrTy val) : Val(val), Invalid(false) {}
[all …]
/external/llvm/include/llvm/ADT/
DSmallPtrSet.h172 template<typename PtrTy>
174 typedef PointerLikeTypeTraits<PtrTy> PtrTraits;
177 typedef PtrTy value_type;
178 typedef PtrTy reference;
179 typedef PtrTy pointer;
188 const PtrTy operator*() const {
/external/llvm/lib/CodeGen/
DStackProtector.cpp168 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in InsertStackProtectors() local
175 PointerType::get(PtrTy, AddressSpace)); in InsertStackProtectors()
177 StackGuardVar = M->getOrInsertGlobal("__stack_chk_guard", PtrTy); in InsertStackProtectors()
183 AI = new AllocaInst(PtrTy, "StackGuardSlot", InsPt); in InsertStackProtectors()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp150 llvm::PointerType *PtrTy; member in __anona4a3aa350111::CGObjCGNU
610 llvm::StructType *SlotStructTy = llvm::StructType::get(PtrTy, in CGObjCGNUstep()
611 PtrTy, PtrTy, IntTy, IMPTy, NULL); in CGObjCGNUstep()
623 EnterCatchFn.init(&CGM, "__cxa_begin_catch", PtrTy, PtrTy, NULL); in CGObjCGNUstep()
627 ExceptionReThrowFn.init(&CGM, "_Unwind_Resume_or_Rethrow", VoidTy, PtrTy, NULL); in CGObjCGNUstep()
698 PtrTy = PtrToInt8Ty; in CGObjCGNU()
735 GetStructPropertyFn.init(&CGM, "objc_getPropertyStruct", VoidTy, PtrTy, PtrTy, in CGObjCGNU()
738 SetStructPropertyFn.init(&CGM, "objc_setPropertyStruct", VoidTy, PtrTy, PtrTy, in CGObjCGNU()
776 MemMoveFn.init(&CGM, "objc_memmove_collectable", PtrTy, PtrTy, PtrTy, in CGObjCGNU()
1002 llvm::Type *ArgTys[] = { PtrTy }; in GenerateMessageSendSuper()
[all …]
DCGException.cpp1004 llvm::Type *PtrTy = in InitCatchParam() local
1008 llvm::Value *ExnPtrTmp = CGF.CreateTempAlloca(PtrTy, "exn.byref.tmp"); in InitCatchParam()
1009 llvm::Value *Casted = CGF.Builder.CreateBitCast(AdjustedExn, PtrTy); in InitCatchParam()
1040 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok in InitCatchParam() local
1041 llvm::Value *Cast = CGF.Builder.CreateBitCast(AdjustedExn, PtrTy); in InitCatchParam()
1058 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok in InitCatchParam() local
1065 llvm::Value *adjustedExn = CGF.Builder.CreateBitCast(rawAdjustedExn, PtrTy); in InitCatchParam()
1077 llvm::Value *adjustedExn = CGF.Builder.CreateBitCast(rawAdjustedExn, PtrTy); in InitCatchParam()
DCGExprAgg.cpp293 QualType PtrTy = CGF.getContext().getPointerType(Ty); in VisitCastExpr() local
295 CGF.ConvertType(PtrTy)); in VisitCastExpr()
DCGBuiltin.cpp2098 llvm::Type *PtrTy = Int8PtrTy; in EmitX86BuiltinExpr() local
2103 Builder.CreateBitCast(Tmp, PtrTy)); in EmitX86BuiltinExpr()
2106 llvm::Type *PtrTy = Int8PtrTy; in EmitX86BuiltinExpr() local
2110 Builder.CreateBitCast(Tmp, PtrTy)); in EmitX86BuiltinExpr()
2123 llvm::Type *PtrTy = llvm::PointerType::getUnqual(Int64Ty); in EmitX86BuiltinExpr() local
2135 Ops[0] = Builder.CreateBitCast(Ops[0], PtrTy); in EmitX86BuiltinExpr()
DItaniumCXXABI.cpp1155 llvm::Type *PtrTy = Builder.getInt8PtrTy(); in EmitGuardedInit() local
1157 Builder.CreateLoad(Builder.CreateBitCast(GuardVariable, PtrTy), "tmp"); in EmitGuardedInit()
DCGObjCMac.cpp3757 llvm::Type *PtrTy = llvm::Type::getInt8PtrTy(VMContext); in BuildIvarLayoutBitmap() local
3762 CGM.getTypes().getTargetData().getTypeAllocSize(PtrTy); in BuildIvarLayoutBitmap()
3901 llvm::Type *PtrTy = llvm::Type::getInt8PtrTy(VMContext); in BuildIvarLayout() local
3904 return llvm::Constant::getNullValue(PtrTy); in BuildIvarLayout()
3923 return llvm::Constant::getNullValue(PtrTy); in BuildIvarLayout()
3930 return llvm::Constant::getNullValue(PtrTy); in BuildIvarLayout()
DTargetInfo.cpp567 llvm::Type *PtrTy = llvm::Type::getInt8PtrTy(getVMContext()); in classifyReturnType() local
568 return ABIArgInfo::getDirect(PtrTy); in classifyReturnType()
/external/clang/lib/Sema/
DSemaExceptionSpec.cpp28 if (const PointerType *PtrTy = T->getAs<PointerType>()) in GetUnderlyingFunction() local
29 T = PtrTy->getPointeeType(); in GetUnderlyingFunction()
558 if (const PointerType *PtrTy = CanonicalSubT->getAs<PointerType>()) { in CheckExceptionSpecSubset() local
559 CanonicalSubT = PtrTy->getPointeeType(); in CheckExceptionSpecSubset()
579 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>()) in CheckExceptionSpecSubset() local
580 CanonicalSuperT = PtrTy->getPointeeType(); in CheckExceptionSpecSubset()
/external/llvm/lib/Target/CellSPU/
DSPUISelDAGToDAG.cpp406 EVT PtrTy = SPUtli.getPointerTy(); in DFormAddressPredicate() local
415 Base = CurDAG->getTargetConstant(0, PtrTy); in DFormAddressPredicate()
416 Index = CurDAG->getTargetFrameIndex(FI, PtrTy); in DFormAddressPredicate()
426 Base = CurDAG->getTargetConstant(0, PtrTy); in DFormAddressPredicate()
441 Base = CurDAG->getTargetConstant(offset, PtrTy); in DFormAddressPredicate()
442 Index = CurDAG->getTargetFrameIndex(FI, PtrTy); in DFormAddressPredicate()
446 Base = CurDAG->getTargetConstant(offset, PtrTy); in DFormAddressPredicate()
462 Base = CurDAG->getTargetConstant(offset, PtrTy); in DFormAddressPredicate()
463 Index = CurDAG->getTargetFrameIndex(FI, PtrTy); in DFormAddressPredicate()
467 Base = CurDAG->getTargetConstant(offset, PtrTy); in DFormAddressPredicate()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp306 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckBufferAccess() local
328 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in CheckBufferAccess()
333 LastOffset, PtrTy); in CheckBufferAccess()
348 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType()); in CheckBufferAccess()
353 LastOffset, PtrTy); in CheckBufferAccess()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp325 IntegerType *PtrTy = TD->getIntPtrType(V->getContext()); in GetConstantInt() local
329 return ConstantInt::get(PtrTy, 0); in GetConstantInt()
336 if (CI->getType() == PtrTy) in GetConstantInt()
340 (ConstantExpr::getIntegerCast(CI, PtrTy, /*isSigned=*/false)); in GetConstantInt()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp2225 PointerType *PtrTy = cast<PointerType>(Ops[0]->getType()); in SimplifyGEPInst() local
2233 Type *LastType = GetElementPtrInst::getIndexedType(PtrTy, Ops.data() + 1, in SimplifyGEPInst()
2235 Type *GEPTy = PointerType::get(LastType, PtrTy->getAddressSpace()); in SimplifyGEPInst()
2246 Type *Ty = PtrTy->getElementType(); in SimplifyGEPInst()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c331 CAMLprim value llvm_address_space(LLVMTypeRef PtrTy) { in llvm_address_space() argument
332 return Val_int(LLVMGetPointerAddressSpace(PtrTy)); in llvm_address_space()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1379 EVT PtrTy = TLI.getPointerTy(); in X86VisitIntrinsicCall() local
1387 if (!X86FastEmitStore(PtrTy, Op1, AM)) return false; in X86VisitIntrinsicCall()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2862 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); in ParseConstraints() local
2863 if (!PtrTy) in ParseConstraints()
2865 OpTy = PtrTy->getElementType(); in ParseConstraints()
DSelectionDAGBuilder.cpp4731 EVT PtrTy = TLI.getPointerTy(); in visitIntrinsicCall() local
4739 SDValue FIN = DAG.getFrameIndex(FI, PtrTy); in visitIntrinsicCall()
5421 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); in getCallOperandValEVT() local
5422 if (!PtrTy) in getCallOperandValEVT()
5424 OpTy = PtrTy->getElementType(); in getCallOperandValEVT()
DLegalizeIntegerTypes.cpp2181 Type *PtrTy = PtrVT.getTypeForEVT(*DAG.getContext()); in ExpandIntRes_XMULO() local
2235 Entry.Ty = PtrTy->getPointerTo(); in ExpandIntRes_XMULO()
/external/clang/lib/AST/
DASTContext.cpp3357 QualType PtrTy = getPointerType(PrettyArrayType->getElementType()); in getArrayDecayedType() local
3360 return getQualifiedType(PtrTy, PrettyArrayType->getIndexTypeQualifiers()); in getArrayDecayedType()