/external/llvm/include/llvm/IR/ |
D | Value.h | 145 use_iterator use_begin() { return use_iterator(UseList); } in use_begin() function 146 const_use_iterator use_begin() const { return const_use_iterator(UseList); } in use_begin() function 149 User *use_back() { return *use_begin(); } in use_back() 150 const User *use_back() const { return *use_begin(); } in use_back() 157 const_use_iterator I = use_begin(), E = use_end(); in hasOneUse()
|
D | Instruction.h | 49 Instruction *use_back() { return cast<Instruction>(*use_begin());} in use_back() 50 const Instruction *use_back() const { return cast<Instruction>(*use_begin());} in use_back()
|
/external/llvm/include/llvm/Support/ |
D | DataFlow.h | 35 return N->use_begin(); 52 return N->use_begin();
|
/external/llvm/lib/Transforms/IPO/ |
D | IPConstantPropagation.cpp | 89 for (Value::use_iterator UI = F.use_begin(), E = F.use_end(); UI != E; ++UI) { in PropagateConstantsIntoArguments() 223 for (Value::use_iterator UI = F.use_begin(), E = F.use_end(); UI != E; ++UI) { in PropagateConstantReturn() 248 for (Value::use_iterator I = Call->use_begin(), E = Call->use_end(); in PropagateConstantReturn()
|
D | GlobalOpt.cpp | 178 for (Value::const_use_iterator UI = C->use_begin(), E = C->use_end(); UI != E; in SafeToDestroyConstant() 194 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; in AnalyzeGlobal() 401 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end(); in CleanupPointerRootUsers() 473 for (Value::use_iterator UI = V->use_begin(), E = V->use_end(); UI != E;) { in CleanupConstantGlobalUsers() 571 for (Value::use_iterator I = GEPI->use_begin(), E = GEPI->use_end(); in isSafeSROAElementUse() 639 for (Value::use_iterator I = U->use_begin(), E = U->use_end(); I != E; ++I) in IsUserOfGlobalSafeForSRA() 649 for (Value::use_iterator UI = GV->use_begin(), E = GV->use_end(); in GlobalUsersSafeToSRA() 807 for (Value::const_use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; in AllUsesOfValueWillTrapIfNull() 852 for (Value::const_use_iterator UI = GV->use_begin(), E = GV->use_end(); in AllUsesOfLoadedValueWillTrapIfNull() 873 for (Value::use_iterator UI = V->use_begin(), E = V->use_end(); UI != E; ) { in OptimizeAwayTrappingUsesOfValue() [all …]
|
D | PartialInlining.cpp | 131 std::vector<User*> Users(duplicateFunction->use_begin(), in unswitchFunction() 165 for (Function::use_iterator UI = currFunc->use_begin(), in runOnModule()
|
D | ArgumentPromotion.cpp | 141 for (Value::use_iterator UI = F->use_begin(), E = F->use_end(); in PromoteArguments() 229 for (Value::use_iterator UI = Callee->use_begin(), E = Callee->use_end(); in AllCallersPassInValidPointerForArgument() 378 for (Value::use_iterator UI = Arg->use_begin(), E = Arg->use_end(); in isSafeToPromoteArgument() 409 for (Value::use_iterator UI = GEP->use_begin(), E = GEP->use_end(); in isSafeToPromoteArgument() 555 for (Value::use_iterator UI = I->use_begin(), E = I->use_end(); UI != E; in DoPromotion()
|
D | DeadArgumentElimination.cpp | 367 for (Function::use_iterator I = Fn.use_begin(), E = Fn.use_end(); in RemoveDeadArgumentsFromCallers() 445 for (Value::const_use_iterator I = IV->use_begin(), in SurveyUse() 493 for (Value::const_use_iterator I = V->use_begin(), in SurveyUses() 542 for (Value::const_use_iterator I = F.use_begin(), E = F.use_end(); in SurveyFunction() 566 for (Value::const_use_iterator I = TheCall->use_begin(), in SurveyFunction()
|
/external/llvm/lib/Analysis/ |
D | CaptureTracking.cpp | 88 for (Value::const_use_iterator UI = V->use_begin(), UE = V->use_end(); in PointerMayBeCaptured() 149 for (Instruction::use_iterator UI = I->use_begin(), UE = I->use_end(); in PointerMayBeCaptured()
|
D | PtrUseVisitor.cpp | 19 for (Value::use_iterator UI = I.use_begin(), UE = I.use_end(); in enqueueUsers()
|
D | PHITransAddr.cpp | 205 for (Value::use_iterator UI = PHIIn->use_begin(), E = PHIIn->use_end(); in PHITranslateSubExpr() 241 for (Value::use_iterator UI = APHIOp->use_begin(), E = APHIOp->use_end(); in PHITranslateSubExpr() 300 for (Value::use_iterator UI = LHS->use_begin(), E = LHS->use_end(); in PHITranslateSubExpr()
|
/external/llvm/lib/IR/ |
D | Value.cpp | 74 for (use_iterator I = use_begin(), E = use_end(); I != E; ++I) in ~Value() 93 const_use_iterator UI = use_begin(), E = use_end(); in hasNUses() 104 const_use_iterator UI = use_begin(), E = use_end(); in hasNUsesOrMore() 128 for (const_use_iterator I = use_begin(), E = use_end(); I != E; ++I) { in isUsedInBasicBlock() 141 return (unsigned)std::distance(use_begin(), use_end()); in getNumUses()
|
/external/llvm/lib/Transforms/Utils/ |
D | PromoteMemoryToRegister.cpp | 87 for (Value::const_use_iterator UI = AI->use_begin(), UE = AI->use_end(); in isAllocaPromotable() 327 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in AnalyzeAlloca() 369 for (Value::use_iterator UI = AI->use_begin(), UE = AI->use_end(); in removeLifetimeIntrinsicUsers() 380 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in removeLifetimeIntrinsicUsers() 853 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E; ) { in RewriteSingleStoreAlloca() 944 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in PromoteSingleBlockAlloca() 951 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E;) in PromoteSingleBlockAlloca() 968 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); UI != E;) { in PromoteSingleBlockAlloca()
|
D | SimplifyInstructions.cpp | 68 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in runOnFunction()
|
D | Local.cpp | 358 Value::use_iterator UI = I->use_begin(); in areAllUsesEqual() 380 I = cast<Instruction>(*I->use_begin())) { in RecursivelyDeleteDeadPHINode() 618 for (Value::use_iterator UI = BBI->use_begin(), E = BBI->use_end(); in TryToSimplifyUncondBranchFromEmptyBlock() 906 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); in LowerDbgDeclare() 925 for (Value::use_iterator UI = DebugNode->use_begin(), in FindAllocaDbgDeclare()
|
D | CodeExtractor.cpp | 174 for (Value::use_iterator UI = II->use_begin(), UE = II->use_end(); in findInputsOutputs() 372 std::vector<User*> Users(inputs[i]->use_begin(), inputs[i]->use_end()); in constructFunction() 392 std::vector<User*> Users(header->use_begin(), header->use_end()); in constructFunction() 408 for (Value::use_iterator UI = Used->use_begin(), in FindPhiPredForUseInBlock() 505 std::vector<User*> Users(outputs[i]->use_begin(), outputs[i]->use_end()); in emitCallAndSwitchStatement()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineRegisterInfo.h | 217 use_iterator use_begin(unsigned RegNo) const { in use_begin() function 224 bool use_empty(unsigned RegNo) const { return use_begin(RegNo) == use_end(); } in use_empty() 229 use_iterator UI = use_begin(RegNo); in hasOneUse()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonRemoveSZExtArgs.cpp | 57 for (Instruction::use_iterator UI = Arg->use_begin(); in runOnFunction()
|
/external/llvm/tools/opt/ |
D | AnalysisWrappers.cpp | 40 for (Value::use_iterator UI = I->use_begin(), E = I->use_end(); in runOnModule()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantProp.cpp | 81 for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); in runOnFunction()
|
D | Reg2Mem.cpp | 50 for (Value::const_use_iterator UI = Inst->use_begin(),E = Inst->use_end(); in valueEscapes()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 130 User *use = *(load->use_begin()); in runOnFunction() 169 StoreInst *store = dyn_cast<StoreInst>(*load->use_begin()); in runOnFunction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineWorklist.h | 88 for (Value::use_iterator UI = I.use_begin(), UE = I.use_end(); in AddUsersToWorkList()
|
/external/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 276 for (use_iterator UI = use_begin(Reg), UE = use_end(); UI != UE; ++UI) in clearKillFlags() 339 for (use_iterator I = use_begin(Reg), E = use_end(); I != E; ++I) in dumpUses()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 156 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):"; in print() 157 for (Value::const_use_iterator UI = V->use_begin(), UE = V->use_end(); in print() 159 if (UI != V->use_begin()) in print()
|