Home
last modified time | relevance | path

Searched refs:Ptr1 (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCHazardRecognizers.cpp92 isLoadOfStoredAddress(unsigned LoadSize, SDValue Ptr1, SDValue Ptr2) const { in isLoadOfStoredAddress() argument
95 if (Ptr1 == StorePtr1[i] && Ptr2 == StorePtr2[i]) in isLoadOfStoredAddress()
97 if (Ptr2 == StorePtr1[i] && Ptr1 == StorePtr2[i]) in isLoadOfStoredAddress()
104 if (ConstantSDNode *LoadOffset = dyn_cast<ConstantSDNode>(Ptr1)) { in isLoadOfStoredAddress()
DPPCHazardRecognizers.h67 SDValue Ptr1, SDValue Ptr2) const;
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DBuildLibCalls.h38 Value *EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
63 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h62 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
87 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp275 Value *Ptr1 = in needsChecking() local
279 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
280 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
DMemCpyOptimizer.cpp72 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, in IsPointerOffset() argument
74 Ptr1 = Ptr1->stripPointerCasts(); in IsPointerOffset()
78 if (Ptr1 == Ptr2) { in IsPointerOffset()
83 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); in IsPointerOffset()
95 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { in IsPointerOffset()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp73 Value *llvm::EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, in EmitStrNCmp() argument
88 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B), in EmitStrNCmp()
181 Value *llvm::EmitMemCmp(Value *Ptr1, Value *Ptr2, in EmitMemCmp() argument
196 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B), in EmitMemCmp()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp74 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, in IsPointerOffset() argument
76 Ptr1 = Ptr1->stripPointerCasts(); in IsPointerOffset()
78 GetElementPtrInst *GEP1 = dyn_cast<GetElementPtrInst>(Ptr1); in IsPointerOffset()
90 if (GEP2 && GEP1 == 0 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { in IsPointerOffset()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp307 Value *Ptr1 = in needsChecking() local
311 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
312 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
DMemCpyOptimizer.cpp107 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, in IsPointerOffset() argument
109 Ptr1 = Ptr1->stripPointerCasts(); in IsPointerOffset()
113 if (Ptr1 == Ptr2) { in IsPointerOffset()
118 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); in IsPointerOffset()
130 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { in IsPointerOffset()
/external/clang/test/SemaCXX/
Dunaddressable-functions.cpp63 auto Ptr1 = foo; // expected-error{{cannot take address of function 'foo'}} in test() local
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp752 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitStrNCmp() argument
764 StrNCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "strncmp"); in emitStrNCmp()
847 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitMemCmp() argument
859 MemCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "memcmp"); in emitMemCmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp797 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitStrNCmp() argument
810 StrNCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, StrNCmpName); in emitStrNCmp()
894 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitMemCmp() argument
907 MemCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, MemCmpName); in emitMemCmp()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp479 Value *Ptr1 = getPointerOperand(M1); in getVectorizablePrefixEndIdx()
485 << *ChainInstrValue << " aliases " << *Ptr1 << '\n'; in getVectorizablePrefixEndIdx()
/external/clang/include/clang/Analysis/
DCFG.h75 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr)
76 : Data1(const_cast<void*>(Ptr1), ((unsigned) kind) & 0x3),
/external/clang/lib/Sema/
DSemaExprCXX.cpp5445 const PointerType *Ptr1, *Ptr2; in FindCompositePointerType() local
5446 if ((Ptr1 = Composite1->getAs<PointerType>()) && in FindCompositePointerType()
5448 Composite1 = Ptr1->getPointeeType(); in FindCompositePointerType()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp259 bool isAlias(SDValue Ptr1, int64_t Size1,
7785 bool DAGCombiner::isAlias(SDValue Ptr1, int64_t Size1, in isAlias() argument
7794 if (Ptr1 == Ptr2) return true; in isAlias()
7801 bool isFrameIndex1 = FindBaseOffset(Ptr1, Base1, Offset1, GV1, CV1); in isAlias()
/external/clang/lib/AST/
DASTImporter.cpp919 const ObjCObjectPointerType *Ptr1 = cast<ObjCObjectPointerType>(T1); in IsStructurallyEquivalent() local
922 Ptr1->getPointeeType(), in IsStructurallyEquivalent()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp13637 SDValue Ptr1 = DAG.getNode(ISD::ADD, dl, Ptr0.getValueType(), Ptr0, Stride); in PerformSTORECombine() local
13642 SDValue Ch1 = DAG.getStore(St->getChain(), dl, Value1, Ptr1, in PerformSTORECombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp36084 SDValue Ptr1 = DAG.getMemBasePlusOffset(Ptr0, 4, dl); in combineStore() local
36090 DAG.getStore(St->getChain(), dl, Hi, Ptr1, in combineStore()
36120 SDValue Ptr1 = DAG.getMemBasePlusOffset(Ptr0, 16, dl); in combineStore() local
36126 DAG.getStore(St->getChain(), dl, Value1, Ptr1, in combineStore()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp29193 SDValue Ptr1 = DAG.getMemBasePlusOffset(Ptr0, 16, dl); in combineStore() local
29198 SDValue Ch1 = DAG.getStore(St->getChain(), dl, Value1, Ptr1, in combineStore()