Home
last modified time | relevance | path

Searched refs:isPointerTy (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTargetLibraryInfo.cpp617 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
622 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
634 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
635 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
637 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
642 return (NumParams == 3 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
673 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
674 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
678 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
683 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
[all …]
DCFLGraph.h208 assert(Val != nullptr && Val->getType()->isPointerTy());
224 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
241 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) in addDerefEdge()
268 if (RetVal->getType()->isPointerTy()) { in visitReturnInst()
365 if (Inst.getType()->isPointerTy()) in visitVAArgInst()
420 if (V->getType()->isPointerTy()) in visitCallSite()
422 if (Inst->getType()->isPointerTy()) in visitCallSite()
446 if (V->getType()->isPointerTy()) { in visitCallSite()
456 if (Inst->getType()->isPointerTy()) { in visitCallSite()
486 if (Inst.getType()->isPointerTy()) in visitLandingPadInst()
[all …]
DCFLSteensAliasAnalysis.cpp165 assert(RetVal->getType()->isPointerTy()); in FunctionInfo()
174 if (Param.getType()->isPointerTy()) { in FunctionInfo()
270 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy()) in query()
DAliasAnalysisSummary.cpp59 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue()
79 if (Value->getType()->isPointerTy()) in instantiateInterfaceValue()
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp503 return (NumParams == 1 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
508 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
520 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
521 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
523 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
528 return (NumParams == 3 && FTy.getReturnType()->isPointerTy() && in isValidProtoForLibFunc()
559 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
560 FTy.getParamType(1)->isPointerTy()); in isValidProtoForLibFunc()
564 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
569 FTy.getParamType(0)->isPointerTy() && in isValidProtoForLibFunc()
[all …]
DCFLGraph.h180 assert(Val != nullptr && Val->getType()->isPointerTy());
196 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy())
208 if (!From->getType()->isPointerTy() || !To->getType()->isPointerTy()) in addDerefEdge()
227 if (RetVal->getType()->isPointerTy()) { in visitReturnInst()
367 if (V->getType()->isPointerTy()) in visitCallSite()
369 if (Inst->getType()->isPointerTy()) in visitCallSite()
396 if (V->getType()->isPointerTy()) { in visitCallSite()
406 if (Inst->getType()->isPointerTy()) { in visitCallSite()
485 if (Arg.getType()->isPointerTy()) { in addArgumentToGraph()
DAliasAnalysisSummary.cpp61 if (!Arg->hasNoAliasAttr() && Arg->getType()->isPointerTy()) in getGlobalOrArgAttrFromValue()
81 if (Value->getType()->isPointerTy()) in instantiateInterfaceValue()
DCFLSteensAliasAnalysis.cpp178 assert(RetVal->getType()->isPointerTy()); in FunctionInfo()
187 if (Param.getType()->isPointerTy()) { in FunctionInfo()
283 if (!ValA->getType()->isPointerTy() || !ValB->getType()->isPointerTy()) in query()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp585 !FT->getParamType(0)->isPointerTy() || in CallOptimizer()
586 !FT->getParamType(1)->isPointerTy()) in CallOptimizer()
668 !FT->getParamType(0)->isPointerTy() || in CallOptimizer()
669 !FT->getParamType(1)->isPointerTy() || in CallOptimizer()
670 !FT->getReturnType()->isPointerTy()) in CallOptimizer()
731 if (FT->getNumParams() != 3 || !FT->getParamType(0)->isPointerTy() || in CallOptimizer()
732 !FT->getParamType(1)->isPointerTy() || in CallOptimizer()
783 !FT->getParamType(0)->isPointerTy() || in CallOptimizer()
784 !FT->getParamType(1)->isPointerTy() || in CallOptimizer()
805 !FT->getParamType(0)->isPointerTy() || in CallOptimizer()
[all …]
DGVN.cpp705 if (StoredValTy->isPointerTy() && LoadedTy->isPointerTy()) in CoerceAvailableValueToLoadType()
709 if (StoredValTy->isPointerTy()) { in CoerceAvailableValueToLoadType()
715 if (TypeToCastTo->isPointerTy()) in CoerceAvailableValueToLoadType()
722 if (LoadedTy->isPointerTy()) in CoerceAvailableValueToLoadType()
734 if (StoredValTy->isPointerTy()) { in CoerceAvailableValueToLoadType()
760 if (LoadedTy->isPointerTy()) in CoerceAvailableValueToLoadType()
955 if (SrcVal->getType()->isPointerTy()) in GetStoreValueForLoad()
1237 if (V->getType()->isPointerTy()) { in ConstructSSAForLoadSet()
1434 if (V->getType()->isPointerTy()) in processNonLocalLoad()
1666 if (V->getType()->isPointerTy()) in processNonLocalLoad()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp104 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() || in InstCombineLoadCast()
121 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() || in InstCombineLoadCast()
125 (SrcPTy->isPointerTy() == LI.getType()->isPointerTy()) && in InstCombineLoadCast()
266 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy()) in InstCombineStoreToCast()
300 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy()) in InstCombineStoreToCast()
320 if (CastDstTy->isPointerTy()) { in InstCombineStoreToCast()
324 if (SIOp0->getType()->isPointerTy()) in InstCombineStoreToCast()
415 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in visitStoreInst()
482 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())); in visitStoreInst()
546 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) { in SimplifyStoreAtEndOfBlock()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp79 if (!getType()->isPointerTy()) return false; in hasByValAttr()
84 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlignment()
92 if (!getType()->isPointerTy()) return false; in hasNestAttr()
99 if (!getType()->isPointerTy()) return false; in hasNoAliasAttr()
106 if (!getType()->isPointerTy()) return false; in hasNoCaptureAttr()
113 if (!getType()->isPointerTy()) return false; in hasStructRetAttr()
DInstructions.cpp467 assert(Source->getType()->isPointerTy() && in createFree()
929 assert(getOperand(0)->getType()->isPointerTy() && in AssertOK()
1082 assert(getOperand(1)->getType()->isPointerTy() && in AssertOK()
1230 assert(getOperand(0)->getType()->isPointerTy() && in Init()
1279 assert(getOperand(0)->getType()->isPointerTy() && in Init()
1378 if (!CT || CT->isPointerTy()) return 0; in getIndexedTypeInternal()
2027 if (SrcTy->isPointerTy()) in isLosslessCast()
2028 return DstTy->isPointerTy(); in isLosslessCast()
2217 if (SrcTy->isPointerTy() && MidTy->isPointerTy()) in isEliminableCastPair()
2222 if (MidTy->isPointerTy() && DstTy->isPointerTy()) in isEliminableCastPair()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp48 FTy->getParamType(1)->isPointerTy() && in runFunction()
49 FTy->getParamType(2)->isPointerTy()) { in runFunction()
63 FTy->getParamType(1)->isPointerTy()) { in runFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp48 FTy->getParamType(1)->isPointerTy() && in runFunction()
49 FTy->getParamType(2)->isPointerTy()) { in runFunction()
63 FTy->getParamType(1)->isPointerTy()) { in runFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp213 if (LI->getType()->isPointerTy()) { in runOnKernelFunction()
229 if (Arg.getType()->isPointerTy()) { in runOnKernelFunction()
242 if (Arg.getType()->isPointerTy() && Arg.hasByValAttr()) in runOnDeviceFunction()
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp253 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
263 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
267 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
386 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
397 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
402 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/AsmParser/
DAsmParserTest.cpp253 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
263 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
267 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
386 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
397 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
402 ASSERT_TRUE(Ty->isPointerTy()); in TEST()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp281 if (File->getType()->isPointerTy()) in EmitFPutC()
309 if (File->getType()->isPointerTy()) in EmitFPutS()
335 if (File->getType()->isPointerTy()) in EmitFWrite()
371 !FT->getParamType(0)->isPointerTy() || in fold()
372 !FT->getParamType(1)->isPointerTy() || in fold()
394 !FT->getParamType(0)->isPointerTy() || in fold()
395 !FT->getParamType(1)->isPointerTy() || in fold()
412 !FT->getParamType(0)->isPointerTy() || in fold()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DFunctionAttrs.cpp142 if (Arg->getType()->isPointerTy()) { in AddReadAttrs()
247 if (A->getType()->isPointerTy() && !A->hasNoCaptureAttr() && in AddNoCaptureAttrs()
352 if (!F->getReturnType()->isPointerTy()) in AddNoAliasAttrs()
362 if (F->doesNotAlias(0) || !F->getReturnType()->isPointerTy()) in AddNoAliasAttrs()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp143 FTy->getParamType(1)->isPointerTy() && in runFunction()
144 FTy->getParamType(2)->isPointerTy()) { in runFunction()
158 FTy->getParamType(1)->isPointerTy()) { in runFunction()
/external/llvm/lib/IR/
DFunction.cpp77 if (!getType()->isPointerTy()) return false; in hasNonNullAttr()
90 if (!getType()->isPointerTy()) return false; in hasByValAttr()
107 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr()
112 if (!getType()->isPointerTy()) return false; in hasByValOrInAllocaAttr()
119 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlignment()
125 assert(getType()->isPointerTy() && in getDereferenceableBytes()
131 assert(getType()->isPointerTy() && in getDereferenceableOrNullBytes()
139 if (!getType()->isPointerTy()) return false; in hasNestAttr()
146 if (!getType()->isPointerTy()) return false; in hasNoAliasAttr()
153 if (!getType()->isPointerTy()) return false; in hasNoCaptureAttr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h212 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
224 bool isPointerTy() const { return getTypeID() == PointerTyID; } in isPointerTy() function
227 bool isPtrOrPtrVectorTy() const { return getScalarType()->isPointerTy(); } in isPtrOrPtrVectorTy()
252 isPointerTy() || isVectorTy(); in isSingleValueType()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerKernelArgs.cpp205 if (LI->getType()->isPointerTy()) { in runOnFunction()
221 if (Arg.getType()->isPointerTy()) { in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DFunction.cpp78 if (!getType()->isPointerTy()) return false; in hasNonNullAttr()
89 if (!getType()->isPointerTy()) return false; in hasByValAttr()
102 if (!getType()->isPointerTy()) return false; in hasInAllocaAttr()
107 if (!getType()->isPointerTy()) return false; in hasByValOrInAllocaAttr()
114 assert(getType()->isPointerTy() && "Only pointers have alignments"); in getParamAlignment()
119 assert(getType()->isPointerTy() && in getDereferenceableBytes()
125 assert(getType()->isPointerTy() && in getDereferenceableOrNullBytes()
131 if (!getType()->isPointerTy()) return false; in hasNestAttr()
136 if (!getType()->isPointerTy()) return false; in hasNoAliasAttr()
141 if (!getType()->isPointerTy()) return false; in hasNoCaptureAttr()
[all …]

12345678910>>...12