Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Value

57 static bool VerifySubExpr(Value *Expr,
59 // If this is a non-instruction value, there is nothing to do.
116 // If the input value is not an instruction, or if it is not defined in CurBB,
123 static void RemoveInstInputs(Value *V,
145 Value *PHITransAddr::PHITranslateSubExpr(Value *V, BasicBlock *CurBB,
148 // If this is a non-instruction value, it can't require PHI translation.
165 // translated, we need to incorporate the value into the expression or fail.
174 // If this is a non-phi value, and it is analyzable, we can incorporate it
192 Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT);
218 SmallVector<Value*, 8> GEPOps;
221 Value *GEPOp = PHITranslateSubExpr(GEP->getOperand(i), CurBB, PredBB, DT);
232 if (Value *V = SimplifyGEPInst(GEPOps, DL, TLI, DT, AC)) {
240 Value *APHIOp = GEPOps[0];
262 Value *LHS = PHITranslateSubExpr(Inst->getOperand(0), CurBB, PredBB, DT);
282 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, DL, TLI, DT, AC)) {
313 /// 'MustDominate' is true, the translated value must dominate
328 // Make sure the value is live in the predecessor.
336 /// PHITranslateWithInsertion - PHI translate this value into the specified
337 /// predecessor block, inserting a computation of the value if it is
343 Value *PHITransAddr::
352 // If successful, return the new value.
367 Value *PHITransAddr::
368 InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB,
371 // See if we have a version of this value already available and dominating
382 // Handle cast of PHI translatable value.
385 Value *OpVal = InsertPHITranslatedSubExpr(Cast->getOperand(0),
400 SmallVector<Value*, 8> GEPOps;
403 Value *OpVal = InsertPHITranslatedSubExpr(GEP->getOperand(i),
420 // a big chain of computation in order to make a value available in a block.
427 Value *OpVal = InsertPHITranslatedSubExpr(Inst->getOperand(0),