Home
last modified time | relevance | path

Searched refs:Usr (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DUser.cpp167 LLVM_NO_SANITIZE_MEMORY_ATTRIBUTE void User::operator delete(void *Usr) { in operator delete() argument
170 User *Obj = static_cast<User *>(Usr); in operator delete()
174 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1; in operator delete()
180 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
187 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DUser.h100 void operator delete(void *Usr);
102 void operator delete(void *Usr, unsigned) { in delete() argument
107 User::operator delete(Usr); in delete()
114 void operator delete(void *Usr, unsigned, unsigned) { in delete() argument
119 User::operator delete(Usr); in delete()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyValueInfo.cpp1336 static bool usesOperand(User *Usr, Value *Op) { in usesOperand() argument
1337 return find(Usr->operands(), Op) != Usr->op_end(); in usesOperand()
1344 static bool isOperationFoldable(User *Usr) { in isOperationFoldable() argument
1345 return isa<CastInst>(Usr) || isa<BinaryOperator>(Usr); in isOperationFoldable()
1352 static ValueLatticeElement constantFoldUser(User *Usr, Value *Op, in constantFoldUser() argument
1355 assert(isOperationFoldable(Usr) && "Precondition"); in constantFoldUser()
1358 if (auto *CI = dyn_cast<CastInst>(Usr)) { in constantFoldUser()
1365 } else if (auto *BO = dyn_cast<BinaryOperator>(Usr)) { in constantFoldUser()
1411 if (User *Usr = dyn_cast<User>(Val)) { in getEdgeValueLocal() local
1416 if (isa<IntegerType>(Usr->getType()) && isOperationFoldable(Usr)) { in getEdgeValueLocal()
[all …]
DMemorySSAUpdater.cpp332 User *Usr = U.getUser(); in insertDef() local
333 return !isa<MemoryUse>(Usr) && Usr != MD; in insertDef()
1099 MemoryAccess *Usr = cast<MemoryAccess>(U.getUser()); in applyInsertUpdates() local
1100 if (MemoryPhi *UsrPhi = dyn_cast<MemoryPhi>(Usr)) { in applyInsertUpdates()
1105 BasicBlock *DominatedBlock = Usr->getBlock(); in applyInsertUpdates()
1114 cast<MemoryUseOrDef>(Usr)->resetOptimized(); in applyInsertUpdates()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DStripSymbols.cpp133 static bool OnlyUsedBy(Value *V, Value *Usr) { in OnlyUsedBy() argument
135 if (U != Usr) in OnlyUsedBy()
DLowerTypeTests.cpp1704 auto *Usr = dyn_cast<CallInst>(U.getUser()); in isDirectCall() local
1705 if (Usr) { in isDirectCall()
1706 CallSite CS(Usr); in isDirectCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DUser.h101 void operator delete(void *Usr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp617 if (auto *Usr = dyn_cast<Instruction>(U.getUser())) in deleteDeadLoop() local
618 if (L->contains(Usr->getParent())) in deleteDeadLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6974 if (find_if(GEPI->users(), [&](User *Usr) { in tryUnmergingGEPsAcrossIndirectBr() argument
6975 if (auto *I = dyn_cast<Instruction>(Usr)) { in tryUnmergingGEPsAcrossIndirectBr()
6987 for (User *Usr : GEPIOp->users()) { in tryUnmergingGEPsAcrossIndirectBr()
6988 if (Usr == GEPI) continue; in tryUnmergingGEPsAcrossIndirectBr()
6990 if (!isa<Instruction>(Usr)) in tryUnmergingGEPsAcrossIndirectBr()
6992 auto *UI = cast<Instruction>(Usr); in tryUnmergingGEPsAcrossIndirectBr()
6997 if (!isa<GetElementPtrInst>(Usr)) in tryUnmergingGEPsAcrossIndirectBr()
6999 auto *UGEPI = cast<GetElementPtrInst>(Usr); in tryUnmergingGEPsAcrossIndirectBr()
7042 assert(find_if(GEPIOp->users(), [&](User *Usr) { in tryUnmergingGEPsAcrossIndirectBr() argument
7043 return cast<Instruction>(Usr)->getParent() != SrcBlock; in tryUnmergingGEPsAcrossIndirectBr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4871 auto *Usr = cast<Instruction>(U); in dominatesAllUses() local
4872 if (Usr != UI && !DT.dominates(DB, Usr->getParent())) in dominatesAllUses()