Searched refs:PointerType (Results 76 - 100 of 321) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp30 auto PtrTy = dyn_cast<PointerType>(Ty);
58 if (isa<PointerType>(Ty)) {
H A DEvaluator.cpp133 if (!cast<PointerType>(C->getType())->getElementType()->isSingleValueType())
189 Type *Ty = cast<PointerType>(Ptr->getType())->getElementType();
375 Type *Ty = cast<PointerType>(P->getType())->getElementType();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h65 PointerType *PtrTy = cast<PointerType>(DataPtr->getType());
H A DDataLayout.h384 bool isNonIntegralPointerType(PointerType *PT) const {
389 auto *PTy = dyn_cast<PointerType>(Ty);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h370 PointerType *PTy, Type *Ty, Value *V);
371 Value *expandAddToGEP(const SCEV *Op, PointerType *PTy, Type *Ty, Value *V);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp613 ResultType = llvm::PointerType::get(PointeeType, AS);
617 const PointerType *PTy = cast<PointerType>(Ty);
627 ResultType = llvm::PointerType::get(PointeeType, AS);
728 ResultType = llvm::PointerType::get(PointeeType, AS);
874 if (T->getAs<PointerType>())
H A DCGObjCGNU.cpp115 llvm::PointerType *PtrToObjCSuperTy;
119 llvm::PointerType *SelectorTy;
125 llvm::PointerType *PtrToInt8Ty;
129 llvm::PointerType *ProtocolPtrTy;
135 llvm::PointerType *IMPTy;
140 llvm::PointerType *IdTy;
143 llvm::PointerType *PtrToIdTy;
152 llvm::PointerType *PtrTy;
165 llvm::PointerType *PtrToIntTy;
824 SlotTy = llvm::PointerType
[all...]
H A DCGBlocks.h34 class PointerType;
H A DCGCXX.cpp136 llvm::PointerType *AliasType = AliasValueType->getPointerTo();
H A DCodeGenTypes.h41 class PointerType;
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp285 return PointerType::get(Ty, 0);
346 PointerType *Tp = cast<PointerType>(Ptr->getType());
360 PointerType *Tp = cast<PointerType>(Ptr->getType());
559 DestTy = PointerType::get(DestTy, 0);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp122 .Default(isa<PointerType>(Ty) ?
318 if (auto PtrTy = dyn_cast<PointerType>(Ty)) {
345 if (auto PtrTy = dyn_cast<PointerType>(Ty))
536 .Default(isa<PointerType>(Ty)
706 if (auto PtrTy = dyn_cast<PointerType>(Ty)) {
742 if (auto PtrTy = dyn_cast<PointerType>(Ty))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp143 Type *AgTy = cast<PointerType>(I->getType())->getElementType();
199 cast<PointerType>(I->getType())->getElementType(),
259 Type *AgTy = cast<PointerType>(I->getType())->getElementType();
293 if (auto *ElPTy = dyn_cast<PointerType>(ElTy))
384 Type *AgTy = cast<PointerType>(I->getType())->getElementType();
933 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp340 PointerType *ShadowPtrTy;
546 if (isa<PointerType>(param_type) && (FT = dyn_cast<FunctionType>(
547 cast<PointerType>(param_type)->getElementType()))) {
580 ShadowPtrTy = PointerType::getUnqual(ShadowTy);
619 GetArgTLSTy = FunctionType::get(PointerType::getUnqual(ArgTLSTy), false);
622 PointerType::getUnqual(GetArgTLSTy));
626 GetRetvalTLSTy = FunctionType::get(PointerType::getUnqual(ShadowTy), false);
629 PointerType::getUnqual(GetRetvalTLSTy));
928 ConstantExpr::getBitCast(NewF, PointerType::getUnqual(FT)));
958 ConstantExpr::getBitCast(NewF, PointerType
[all...]
H A DMemorySanitizer.cpp732 "__msan_get_context_state", PointerType::get(MsanContextStateTy, 0));
734 Type *RetTy = StructType::get(PointerType::get(IRB.getInt8Ty(), 0),
735 PointerType::get(IRB.getInt32Ty(), 0));
743 name_load, RetTy, PointerType::get(IRB.getInt8Ty(), 0));
745 name_store, RetTy, PointerType::get(IRB.getInt8Ty(), 0));
750 PointerType::get(IRB.getInt8Ty(), 0), IRB.getInt64Ty());
753 PointerType::get(IRB.getInt8Ty(), 0), IRB.getInt64Ty());
865 PointerType::get(IRB.getInt8Ty(), 0), IntptrTy);
1123 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0));
1432 IRB.CreateIntToPtr(ShadowLong, PointerType
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp361 } else if (isa<PointerType>(Ty)) {
666 PointerType *Pty = gv->getType();
1003 PointerType *PTy = GVar->getType();
1478 auto *PTy = dyn_cast<PointerType>(Ty);
1526 } else if (isa<PointerType>(Ty))
1544 auto *PTy = dyn_cast<PointerType>(Ty);
1731 PointerType *PTy = dyn_cast<PointerType>(Cexpr->getType());
2006 PointerType *DstTy = cast<PointerType>(C
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp648 PointerType *FuncPtrTy =
661 cast<PointerType>(ETy)->getElementType()->isIntegerTy(8),
672 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType());
1703 Assert(Attrs.getByValType() == cast<PointerType>(Ty)->getElementType(),
1709 cast<PointerType>(Ty)->getElementType(),
1719 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) {
1729 if (!isa<PointerType>(PTy->getElementType()))
2016 !DL.isNonIntegralPointerType(cast<PointerType>(PtrT
[all...]
H A DConstantFold.cpp118 if (PointerType *PTy = dyn_cast<PointerType>(V->getType()))
119 if (PointerType *DPTy = dyn_cast<PointerType>(DestTy))
164 return ConstantPointerNull::get(cast<PointerType>(DestTy));
386 if (PointerType *PTy = dyn_cast<PointerType>(Ty))
389 getFoldedSizeOf(PointerType::get(IntegerType::get(PTy->getContext(), 1),
449 if (PointerType *PTy = dyn_cast<PointerType>(T
[all...]
H A DModule.cpp159 auto *PTy = PointerType::get(Ty, F->getAddressSpace());
185 /// the top-level PointerType, which represents the address of the global.
216 PointerType *PTy = PointerType::get(Ty, GVTy->getPointerAddressSpace());
H A DInstructions.cpp629 PointerType *AllocPtrType = PointerType::getUnqual(AllocTy);
1300 : UnaryInstruction(PointerType::get(Ty, AddrSpace), Alloca,
1310 : UnaryInstruction(PointerType::get(Ty, AddrSpace), Alloca,
1393 assert(Ty == cast<PointerType>(Ptr->getType())->getElementType());
1405 assert(Ty == cast<PointerType>(Ptr->getType())->getElementType());
1422 cast<PointerType>(getOperand(1)->getType())->getElementType()
1506 cast<PointerType>(getOperand(0)->getType())->getElementType()
1509 cast<PointerType>(getOperand(0)->getType())->getElementType()
1568 cast<PointerType>(getOperan
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp277 const clang::PointerType *pointer_pointertype =
278 pointer_type->getAs<clang::PointerType>();
474 PointerType *CFSCWB_ptr_ty = PointerType::getUnqual(CFSCWB_ty);
846 // Type *sel_ptr_type = PointerType::getUnqual(sel_type);
859 PointerType *srN_ptr_ty = PointerType::getUnqual(srN_type);
1011 PointerType *ogC_ptr_ty = PointerType::getUnqual(ogC_type);
1240 value_type = PointerType
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp413 Type *I8X = PointerType::getUnqual(Type::getInt8Ty(C));
414 Type *I8XX = PointerType::getUnqual(I8X);
507 Value *Null = ConstantPointerNull::get(cast<PointerType>(CI->getType()));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp226 PointerType::get(&FT, 0));
230 GlobalVariable* createImplPointer(PointerType &PT, Module &M,
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp190 class PointerType : public Type { class in namespace:__anon2446
195 PointerType(const Type *Pointee, bool Const) function in class:__anon2446::PointerType
206 assert(!isa<PointerType>(Pointee) && "Pointer to pointer not supported");
213 return "llvm::PointerType::getUnqual(" + Pointee->llvmName() + ")";
641 const PointerType *PtrType;
643 PointerCastResult(const PointerType *PtrType, Ptr V)
980 std::map<std::string, std::unique_ptr<PointerType>> PointerTypes;
1018 const PointerType *getPointerType(const Type *T, bool Const) {
1019 PointerType PT(T, Const);
1022 PointerTypes[key] = std::make_unique<PointerType>(P
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp608 return flattenPointerTypes(cast<PointerType>(Ty)->getElementType());
615 Type *ElTy = cast<PointerType>(FullTy)->getElementType();
1774 !PointerType::isValidElementType(ResultTy))
1776 ResultTy = PointerType::get(ResultTy, AddressSpace);
3157 AddressSpace = cast<PointerType>(Ty)->getAddressSpace();
3204 FullTy = PointerType::get(FullTy, AddressSpace);
3254 if (isa<PointerType>(FTy))
3351 Type *FullTy = PointerType::get(FullFTy, AddrSpace);
3390 auto *PTy = dyn_cast<PointerType>(Ty);
3441 FullTy = PointerType
[all...]

Completed in 373 milliseconds

1234567891011>>