Home
last modified time | relevance | path

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

/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-7.0/llvm/lib/IR/
DUser.cpp166 void User::operator delete(void *Usr) { in operator delete() argument
169 User *Obj = static_cast<User *>(Usr); in operator delete()
173 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1; in operator delete()
179 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
186 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
DValue.cpp461 auto *Usr = dyn_cast<Instruction>(U.getUser()); in replaceUsesOutsideBlock() local
462 if (Usr && Usr->getParent() == BB) in replaceUsesOutsideBlock()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DUser.cpp71 void User::operator delete(void *Usr) { in operator delete() argument
72 User *Start = static_cast<User*>(Usr); in operator delete()
73 Use *Storage = static_cast<Use*>(Usr) - Start->NumOperands; in operator delete()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DUser.h101 void operator delete(void *Usr);
103 void operator delete(void *Usr, unsigned) { in delete() argument
108 User::operator delete(Usr); in delete()
115 void operator delete(void *Usr, unsigned, bool) { in delete() argument
120 User::operator delete(Usr); in delete()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLazyValueInfo.cpp1185 static bool usesOperand(User *Usr, Value *Op) { in usesOperand() argument
1186 return find(Usr->operands(), Op) != Usr->op_end(); in usesOperand()
1193 static bool isOperationFoldable(User *Usr) { in isOperationFoldable() argument
1194 return isa<CastInst>(Usr) || isa<BinaryOperator>(Usr); in isOperationFoldable()
1201 static ValueLatticeElement constantFoldUser(User *Usr, Value *Op, in constantFoldUser() argument
1204 assert(isOperationFoldable(Usr) && "Precondition"); in constantFoldUser()
1207 if (auto *CI = dyn_cast<CastInst>(Usr)) { in constantFoldUser()
1214 } else if (auto *BO = dyn_cast<BinaryOperator>(Usr)) { in constantFoldUser()
1260 if (User *Usr = dyn_cast<User>(Val)) { in getEdgeValueLocal() local
1265 if (isa<IntegerType>(Usr->getType()) && isOperationFoldable(Usr)) { in getEdgeValueLocal()
[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-7.0/llvm/lib/Transforms/IPO/
DStripSymbols.cpp133 static bool OnlyUsedBy(Value *V, Value *Usr) { in OnlyUsedBy() argument
135 if (U != Usr) in OnlyUsedBy()
DLowerTypeTests.cpp1632 auto *Usr = dyn_cast<CallInst>(U.getUser()); in isDirectCall() local
1633 if (Usr) { in isDirectCall()
1634 CallSite CS(Usr); in isDirectCall()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DStripSymbols.cpp133 static bool OnlyUsedBy(Value *V, Value *Usr) { in OnlyUsedBy() argument
136 if (U != Usr) in OnlyUsedBy()
/external/swiftshader/third_party/LLVM/include/llvm/
DUser.h64 void operator delete(void *Usr);
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp6431 if (find_if(GEPI->users(), [&](User *Usr) { in tryUnmergingGEPsAcrossIndirectBr() argument
6432 if (auto *I = dyn_cast<Instruction>(Usr)) { in tryUnmergingGEPsAcrossIndirectBr()
6444 for (User *Usr : GEPIOp->users()) { in tryUnmergingGEPsAcrossIndirectBr()
6445 if (Usr == GEPI) continue; in tryUnmergingGEPsAcrossIndirectBr()
6447 if (!isa<Instruction>(Usr)) in tryUnmergingGEPsAcrossIndirectBr()
6449 auto *UI = cast<Instruction>(Usr); in tryUnmergingGEPsAcrossIndirectBr()
6454 if (!isa<GetElementPtrInst>(Usr)) in tryUnmergingGEPsAcrossIndirectBr()
6456 auto *UGEPI = cast<GetElementPtrInst>(Usr); in tryUnmergingGEPsAcrossIndirectBr()
6499 assert(find_if(GEPIOp->users(), [&](User *Usr) { in tryUnmergingGEPsAcrossIndirectBr() argument
6500 return cast<Instruction>(Usr)->getParent() != SrcBlock; in tryUnmergingGEPsAcrossIndirectBr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp1450 if (auto *Usr = dyn_cast<Instruction>(U.getUser())) in deleteDeadLoop() local
1451 if (L->contains(Usr->getParent())) in deleteDeadLoop()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3010 auto *Usr = cast<Instruction>(U); in dominatesAllUses() local
3011 if (Usr != UI && !DT->dominates(DB, Usr->getParent())) in dominatesAllUses()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4162 auto *Usr = cast<Instruction>(U); in dominatesAllUses() local
4163 if (Usr != UI && !DT.dominates(DB, Usr->getParent())) in dominatesAllUses()