Home
last modified time | relevance | path

Searched refs:user_back (Results 1 – 25 of 72) sorted by relevance

123

/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp894 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract()
1878 while (Op->hasOneUse() && Op->user_back()->getOpcode() == Opcode && in EraseInst()
1880 Op = Op->user_back(); in EraseInst()
1915 Instruction *User = I->user_back(); in canonicalizeNegConstExpr()
1975 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst()
1976 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst()
2024 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst()
2048 !isReassociableOp(I->user_back(), Instruction::FMul))) { in OptimizeInst()
2070 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst()
2074 if (BO->user_back() != BO && in OptimizeInst()
[all …]
DConstantHoisting.cpp569 assert(isa<Instruction>(Base->user_back()) && in emitBaseConstants()
571 Base->setDebugLoc(cast<Instruction>(Base->user_back())->getDebugLoc()); in emitBaseConstants()
DTailRecursionElimination.cpp429 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion()
435 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); in canTransformAccumulatorRecursion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp919 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract()
1910 while (Op->hasOneUse() && Op->user_back()->getOpcode() == Opcode && in EraseInst()
1912 Op = Op->user_back(); in EraseInst()
1956 Instruction *User = I->user_back(); in canonicalizeNegConstExpr()
2022 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst()
2023 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst()
2066 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst()
2090 !isReassociableOp(I->user_back(), Instruction::FMul))) { in OptimizeInst()
2112 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst()
2116 if (BO->user_back() != BO && in OptimizeInst()
[all …]
DTailRecursionElimination.cpp425 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion()
431 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); in canTransformAccumulatorRecursion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp102 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in FoldIntegerTypedPHI()
844 if (PHINode *PU = dyn_cast<PHINode>(PN->user_back())) in DeadPHICycle()
1002 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI()
1007 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI()
1147 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode()
1163 PHIUser->user_back() == &PN) { in visitPHINode()
DInstCombineVectorOps.cpp117 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI()
414 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements()
553 User *U = V->user_back(); in visitInsertValueInst()
596 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoBroadcast()
818 if (!IE.hasOneUse() || !isa<InsertElementInst>(IE.user_back())) { in visitInsertElementInst()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h59 Instruction *user_back() { return cast<Instruction>(*user_begin());} in user_back() function
60 const Instruction *user_back() const { return cast<Instruction>(*user_begin());} in user_back() function
DValue.h355 User *user_back() { in user_back() function
359 const User *user_back() const { in user_back() function
/external/llvm/include/llvm/IR/
DInstruction.h55 Instruction *user_back() { return cast<Instruction>(*user_begin());}
56 const Instruction *user_back() const { return cast<Instruction>(*user_begin());}
DValue.h346 User *user_back() { in user_back() function
350 const User *user_back() const { in user_back() function
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp242 (I.hasOneUse() && I.user_back()->getParent() == BB && in formLCSSA()
243 !isa<PHINode>(I.user_back()))) in formLCSSA()
DDemoteRegToStack.cpp57 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp189 OrigLoad = cast<LoadInst>(UI->user_back()); in doPromotion()
240 CallSite CS(F->user_back()); in doPromotion()
423 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) { in doPromotion()
432 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in doPromotion()
462 LoadInst *L = cast<LoadInst>(GEP->user_back()); in doPromotion()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp588 if (PHINode *PU = dyn_cast<PHINode>(PN->user_back())) in DeadPHICycle()
746 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI()
751 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI()
889 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode()
905 PHIUser->user_back() == &PN) { in visitPHINode()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp724 OrigLoad = cast<LoadInst>(UI->user_back()); in DoPromotion()
781 CallSite CS(F->user_back()); in DoPromotion()
974 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) { in DoPromotion()
983 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in DoPromotion()
1013 LoadInst *L = cast<LoadInst>(GEP->user_back()); in DoPromotion()
DGlobalOpt.cpp520 User *GEP = GV->user_back(); in SRAGlobal()
816 Instruction *User = cast<Instruction>(CI->user_back()); in OptimizeGlobalAddressOfMalloc()
846 if (StoreInst *SI = dyn_cast<StoreInst>(GV->user_back())) { in OptimizeGlobalAddressOfMalloc()
854 LoadInst *LI = cast<LoadInst>(GV->user_back()); in OptimizeGlobalAddressOfMalloc()
896 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
989 if (StoreInst *SI = dyn_cast<StoreInst>(GEPI->user_back())) in ReplaceUsesOfMallocWithGlobal()
1595 Instruction *UI = cast<Instruction>(GV->user_back()); in TryToShrinkGlobalToBoolean()
DStripSymbols.cpp258 CallInst *CI = cast<CallInst>(Declare->user_back()); in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstruction.h64 Instruction *user_back() { return cast<Instruction>(*user_begin());}
65 const Instruction *user_back() const { return cast<Instruction>(*user_begin());}
DValue.h385 User *user_back() { in user_back() function
389 const User *user_back() const { in user_back() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLCSSA.cpp332 (I.hasOneUse() && I.user_back()->getParent() == BB && in formLCSSA()
333 !isa<PHINode>(I.user_back()))) in formLCSSA()
DDemoteRegToStack.cpp59 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp80 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp269 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges()
270 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp259 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges()
260 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()

123