Home
last modified time | relevance | path

Searched refs:isOpaqueOrPointeeTypeMatches (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/AsmParser/
H A DAsmParserTest.cpp255 ASSERT_TRUE(PT->isOpaqueOrPointeeTypeMatches(Type::getIntNTy(Ctx, 32))); in TEST()
264 ASSERT_TRUE(PT->isOpaqueOrPointeeTypeMatches(ExpectedElemTy)); in TEST()
382 ASSERT_TRUE(PT->isOpaqueOrPointeeTypeMatches(Type::getIntNTy(Ctx, 32))); in TEST()
392 ASSERT_TRUE(PT->isOpaqueOrPointeeTypeMatches(ExpectedElemTy)); in TEST()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuilder.h93 ->isOpaqueOrPointeeTypeMatches(Ty));
124 ->isOpaqueOrPointeeTypeMatches(getInt1Ty()));
131 ->isOpaqueOrPointeeTypeMatches(getInt1Ty())); in CreateFlagStore()
160 assert(cast<llvm::PointerType>(Ty)->isOpaqueOrPointeeTypeMatches(
H A DAddress.h86 ->isOpaqueOrPointeeTypeMatches(ElementType) && in Address()
H A DCGValue.h242 ->isOpaqueOrPointeeTypeMatches(ElementType) && in Initialize()
H A DCGDecl.cpp1403 ->isOpaqueOrPointeeTypeMatches(SizeTy) && in EmitAndRegisterVariableArrayDimensions()
/llvm-project-15.0.7/llvm/lib/IR/
H A DIRBuilder.cpp65 if (PT->isOpaqueOrPointeeTypeMatches(getInt8Ty())) in getCastedInt8PtrValue()
564 assert(PtrTy->isOpaqueOrPointeeTypeMatches(Ty) && "Wrong element type"); in CreateMaskedLoad()
585 assert(PtrTy->isOpaqueOrPointeeTypeMatches(DataTy) && "Wrong element type"); in CreateMaskedStore()
621 ->isOpaqueOrPointeeTypeMatches( in CreateMaskedGather()
658 PtrTy->isOpaqueOrPointeeTypeMatches(DataTy->getElementType()) && in CreateMaskedScatter()
1041 ->isOpaqueOrPointeeTypeMatches(ElemTy) && in CreatePtrDiff()
1194 assert(cast<PointerType>(BaseType)->isOpaqueOrPointeeTypeMatches(ElTy) && in CreatePreserveArrayAccessIndex()
1245 assert(cast<PointerType>(BaseType)->isOpaqueOrPointeeTypeMatches(ElTy) && in CreatePreserveStructAccessIndex()
H A DFunction.cpp1617 !ThisArgType->isOpaqueOrPointeeTypeMatches(ReferenceType)); in matchIntrinsicType()
1628 return !ThisArgType->isOpaqueOrPointeeTypeMatches( in matchIntrinsicType()
1652 return !ThisArgType->isOpaqueOrPointeeTypeMatches( in matchIntrinsicType()
1684 return !ThisArgEltTy->isOpaqueOrPointeeTypeMatches( in matchIntrinsicType()
H A DInstructions.cpp1477 assert(cast<PointerType>(Ptr->getType())->isOpaqueOrPointeeTypeMatches(Ty)); in LoadInst()
1489 assert(cast<PointerType>(Ptr->getType())->isOpaqueOrPointeeTypeMatches(Ty)); in LoadInst()
1506 ->isOpaqueOrPointeeTypeMatches(getOperand(0)->getType()) && in AssertOK()
1588 ->isOpaqueOrPointeeTypeMatches(getOperand(1)->getType()) && in Init()
1591 ->isOpaqueOrPointeeTypeMatches(getOperand(2)->getType()) && in Init()
1646 ->isOpaqueOrPointeeTypeMatches(getOperand(1)->getType()) && in Init()
H A DVerifier.cpp741 cast<PointerType>(ETy)->isOpaqueOrPointeeTypeMatches(Int8Ty), in visitGlobalVariable()
3158 Check(FPTy->isOpaqueOrPointeeTypeMatches(Call.getFunctionType()), in visitCallBase()
3856 Check(PTy->isOpaqueOrPointeeTypeMatches(ElTy), in visitStoreInst()
5302 Check(PtrTy->isOpaqueOrPointeeTypeMatches(Call.getType()), in visitIntrinsicCall()
5322 Check(PtrTy->isOpaqueOrPointeeTypeMatches(Val->getType()), in visitIntrinsicCall()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp624 if (!RetPtrTy || !RetPtrTy->isOpaqueOrPointeeTypeMatches(Int8Ty)) in checkAsyncContextProjectFunction()
631 ->isOpaqueOrPointeeTypeMatches(Int8Ty)) in checkAsyncContextProjectFunction()
H A DCoroSplit.cpp621 ->isOpaqueOrPointeeTypeMatches(ValueTy) && in replaceSwiftErrorOps()
631 ->isOpaqueOrPointeeTypeMatches(ValueTy) && in replaceSwiftErrorOps()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDerivedTypes.h688 bool isOpaqueOrPointeeTypeMatches(Type *Ty) { in isOpaqueOrPointeeTypeMatches() function
H A DInstructions.h962 ->isOpaqueOrPointeeTypeMatches(PointeeType));
974 ->isOpaqueOrPointeeTypeMatches(PointeeType));
1011 ->isOpaqueOrPointeeTypeMatches(ResultElementType));
1158 ->isOpaqueOrPointeeTypeMatches(ResultElementType));
1172 ->isOpaqueOrPointeeTypeMatches(ResultElementType));
H A DInstrTypes.h1448 assert(cast<PointerType>(Fn->getType())->isOpaqueOrPointeeTypeMatches(FTy));
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp434 !PTy->isOpaqueOrPointeeTypeMatches(ElTy)) in runOnFunction()
/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h664 ->isOpaqueOrPointeeTypeMatches(ElementType) && "Invalid elem type"); in ReductionInfo()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp825 cast<PointerType>(Addr->getType())->isOpaqueOrPointeeTypeMatches(OrigTy)); in getMemoryAccessFuncIndex()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp1016 if (!PTy->isOpaqueOrPointeeTypeMatches(Ty)) in parseAliasOrIFunc()
3689 if (!BasePointerType->isOpaqueOrPointeeTypeMatches(Ty)) { in parseValID()
7310 if (!cast<PointerType>(Val->getType())->isOpaqueOrPointeeTypeMatches(Ty)) { in parseLoad()
7362 ->isOpaqueOrPointeeTypeMatches(Val->getType())) in parseStore()
7416 ->isOpaqueOrPointeeTypeMatches(Cmp->getType())) in parseCmpXchg()
7419 ->isOpaqueOrPointeeTypeMatches(New->getType())) in parseCmpXchg()
7501 ->isOpaqueOrPointeeTypeMatches(Val->getType())) in parseAtomicRMW()
7582 if (!BasePointerType->isOpaqueOrPointeeTypeMatches(Ty)) { in parseGetElementPtr()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1343 assert(cast<PointerType>(Ty)->isOpaqueOrPointeeTypeMatches(ElemTy) && in getPtrElementTypeByID()
3149 } else if (!OrigPtrTy->isOpaqueOrPointeeTypeMatches(PointeeType)) in parseConstants()
4352 if (!cast<PointerType>(PtrType)->isOpaqueOrPointeeTypeMatches(ValType)) in typeCheckLoadStoreInst()
4782 ->isOpaqueOrPointeeTypeMatches(Ty)) { in parseFunctionBody()
5375 } else if (!CalleeTy->isOpaqueOrPointeeTypeMatches(FTy)) in parseFunctionBody()
5471 } else if (!OpTy->isOpaqueOrPointeeTypeMatches(FTy)) in parseFunctionBody()
6181 } else if (!OpTy->isOpaqueOrPointeeTypeMatches(FTy)) in parseFunctionBody()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1433 ->isOpaqueOrPointeeTypeMatches(ElemTyA) && "Wrong PtrA type"); in getPointersDiff()
1435 ->isOpaqueOrPointeeTypeMatches(ElemTyB) && "Wrong PtrB type"); in getPointersDiff()
H A DConstantFolding.cpp1009 cast<PointerType>(C->getType())->isOpaqueOrPointeeTypeMatches(ElemTy) && in SymbolicallyEvaluateGEP()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h924 ->isOpaqueOrPointeeTypeMatches(PointeeType) && in getGEPCost()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp288 assert(cast<PointerType>(Ty)->isOpaqueOrPointeeTypeMatches(PtrElemTy) && in INITIALIZE_PASS_DEPENDENCY()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1428 ->isOpaqueOrPointeeTypeMatches(ByValType)); in HandleByValArgument()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp1200 cast<PointerType>(Arg2Type)->isOpaqueOrPointeeTypeMatches(ArgStructTy)); in TEST_F()
4622 ->isOpaqueOrPointeeTypeMatches(Builder.getInt8Ty())); in TEST_F()
4632 ->isOpaqueOrPointeeTypeMatches(Builder.getInt8Ty())); in TEST_F()

12