Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/IR/
DUser.cpp171 LLVM_NO_SANITIZE_MEMORY_ATTRIBUTE void User::operator delete(void *Usr) { in operator delete() argument
174 User *Obj = static_cast<User *>(Usr); in operator delete()
178 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1; in operator delete()
184 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
191 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
DValue.cpp194 void Value::dropDroppableUsesIn(User &Usr) { in dropDroppableUsesIn() argument
195 assert(Usr.isDroppable() && "Expected a droppable user!"); in dropDroppableUsesIn()
196 for (Use &UsrOp : Usr.operands()) { in dropDroppableUsesIn()
/external/llvm/lib/IR/
DUser.cpp170 void User::operator delete(void *Usr) { in operator delete() argument
173 User *Obj = static_cast<User *>(Usr); in operator delete()
177 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1; in operator delete()
183 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
190 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
DValue.cpp415 auto *Usr = dyn_cast<Instruction>(U.getUser()); in replaceUsesOutsideBlock() local
416 if (Usr && Usr->getParent() == BB) in replaceUsesOutsideBlock()
/external/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()
/external/llvm-project/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()
DValue.h486 void dropDroppableUsesIn(User &Usr);
/external/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()
/external/llvm-project/llvm/lib/Analysis/
DLazyValueInfo.cpp1246 static bool usesOperand(User *Usr, Value *Op) { in usesOperand() argument
1247 return find(Usr->operands(), Op) != Usr->op_end(); in usesOperand()
1254 static bool isOperationFoldable(User *Usr) { in isOperationFoldable() argument
1255 return isa<CastInst>(Usr) || isa<BinaryOperator>(Usr) || isa<FreezeInst>(Usr); in isOperationFoldable()
1262 static ValueLatticeElement constantFoldUser(User *Usr, Value *Op, in constantFoldUser() argument
1265 assert(isOperationFoldable(Usr) && "Precondition"); in constantFoldUser()
1268 if (auto *CI = dyn_cast<CastInst>(Usr)) { in constantFoldUser()
1275 } else if (auto *BO = dyn_cast<BinaryOperator>(Usr)) { in constantFoldUser()
1286 } else if (isa<FreezeInst>(Usr)) { in constantFoldUser()
1287 assert(cast<FreezeInst>(Usr)->getOperand(0) == Op && "Operand 0 isn't Op"); in constantFoldUser()
[all …]
DMemorySSAUpdater.cpp333 User *Usr = U.getUser(); in insertDef() local
334 return !isa<MemoryUse>(Usr) && Usr != MD; in insertDef()
1134 MemoryAccess *Usr = cast<MemoryAccess>(U.getUser()); in applyInsertUpdates() local
1135 if (MemoryPhi *UsrPhi = dyn_cast<MemoryPhi>(Usr)) { in applyInsertUpdates()
1140 BasicBlock *DominatedBlock = Usr->getBlock(); in applyInsertUpdates()
1149 cast<MemoryUseOrDef>(Usr)->resetOptimized(); in applyInsertUpdates()
/external/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()
/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp417 User *Usr = OutlinedFn->user_back(); in TEST_F() local
418 ASSERT_TRUE(isa<ConstantExpr>(Usr)); in TEST_F()
419 CallInst *ForkCI = dyn_cast<CallInst>(Usr->user_back()); in TEST_F()
427 EXPECT_EQ(ForkCI->getArgOperand(2), Usr); in TEST_F()
510 User *Usr = OutlinedFn.user_back(); in TEST_F() local
511 ASSERT_TRUE(isa<ConstantExpr>(Usr)); in TEST_F()
512 CallInst *ForkCI = dyn_cast<CallInst>(Usr->user_back()); in TEST_F()
520 EXPECT_EQ(ForkCI->getArgOperand(2), Usr); in TEST_F()
618 User *Usr = OutlinedFn.user_back(); in TEST_F() local
619 ASSERT_TRUE(isa<ConstantExpr>(Usr)); in TEST_F()
[all …]
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp133 static bool OnlyUsedBy(Value *V, Value *Usr) { in OnlyUsedBy() argument
135 if (U != Usr) in OnlyUsedBy()
/external/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()
/external/llvm-project/llvm/lib/Transforms/IPO/
DStripSymbols.cpp136 static bool OnlyUsedBy(Value *V, Value *Usr) { in OnlyUsedBy() argument
138 if (U != Usr) in OnlyUsedBy()
DLowerTypeTests.cpp1737 auto *Usr = dyn_cast<CallInst>(U.getUser()); in isDirectCall() local
1738 if (Usr) { in isDirectCall()
1739 auto *CB = dyn_cast<CallBase>(Usr); in isDirectCall()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DUser.h101 void operator delete(void *Usr);
/external/llvm/include/llvm/IR/
DUser.h94 void operator delete(void *Usr);
/external/libcups/packaging/
Dcups.list.in86 %replaces SUNWlps LP Print Service - Server, (Usr)
87 %replaces SUNWlpu LP Print Service - Client, (Usr)
88 %replaces SUNWpsu LP Print Server, (Usr)
90 %replaces SUNWpcu LP Print Client, (Usr)
/external/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()
/external/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()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp7440 if (find_if(GEPI->users(), [&](User *Usr) { in tryUnmergingGEPsAcrossIndirectBr() argument
7441 if (auto *I = dyn_cast<Instruction>(Usr)) { in tryUnmergingGEPsAcrossIndirectBr()
7453 for (User *Usr : GEPIOp->users()) { in tryUnmergingGEPsAcrossIndirectBr()
7454 if (Usr == GEPI) continue; in tryUnmergingGEPsAcrossIndirectBr()
7456 if (!isa<Instruction>(Usr)) in tryUnmergingGEPsAcrossIndirectBr()
7458 auto *UI = cast<Instruction>(Usr); in tryUnmergingGEPsAcrossIndirectBr()
7463 if (!isa<GetElementPtrInst>(Usr)) in tryUnmergingGEPsAcrossIndirectBr()
7465 auto *UGEPI = cast<GetElementPtrInst>(Usr); in tryUnmergingGEPsAcrossIndirectBr()
7511 assert(find_if(GEPIOp->users(), [&](User *Usr) { in tryUnmergingGEPsAcrossIndirectBr() argument
7512 return cast<Instruction>(Usr)->getParent() != SrcBlock; in tryUnmergingGEPsAcrossIndirectBr()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUtils.cpp680 if (auto *Usr = dyn_cast<Instruction>(U.getUser())) in deleteDeadLoop() local
681 if (L->contains(Usr->getParent())) in deleteDeadLoop()

12