Lines Matching defs:Result
93 /// and returns the result.
135 Value *Result = ZI->getOperand(0);
138 // is the result of an assignment.
141 return Result;
158 llvm_unreachable("Stmt can't have complex result type!");
219 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) {
220 if (result.isReference())
221 return EmitLoadOfLValue(result.getReferenceLValue(CGF, E));
222 return result.getValue();
372 // The result shall only be used as the operand for the function call
373 // operator (), and the result of such a call has type void. The only
442 Value *&Result);
927 // optimized shuffle of the swizzle input into the result.
956 // Extend init to result vector length, and then shuffle its contribution
1424 // Store the updated result through the lvalue.
1465 Value *Result = Builder.CreateICmp(llvm::CmpInst::ICMP_EQ, Oper, Zero, "cmp");
1466 return Builder.CreateSExt(Result, ConvertType(E->getType()), "sext");
1477 // ZExt result to the expr type.
1490 llvm::Value* Result = llvm::Constant::getNullValue(ResultType);
1511 // Multiply out to compute the result
1565 Result = Builder.CreateAdd(Result, Offset);
1567 return Result;
1603 // If this isn't sizeof(vla), the result must be constant; use the constant
1652 BinOpInfo Result;
1653 Result.LHS = Visit(E->getLHS());
1654 Result.RHS = Visit(E->getRHS());
1655 Result.Ty = E->getType();
1656 Result.Opcode = E->getOpcode();
1657 Result.E = E;
1658 return Result;
1664 Value *&Result) {
1674 Result = llvm::UndefValue::get(CGF.ConvertType(E->getType()));
1705 Result = (this->*Func)(OpInfo);
1707 // Convert the result back to the LHS type.
1708 Result = EmitScalarConversion(Result, E->getComputationResultType(), LHSTy);
1714 Result, llvm::SequentiallyConsistent);
1722 // Store the result value into the LHS lvalue. Bit-fields are handled
1723 // specially because the result is altered by the store, i.e., [C99 6.5.16p1]
1727 CGF.EmitStoreThroughBitfieldLValue(RValue::get(Result), LHSLV, &Result);
1729 CGF.EmitStoreThroughLValue(RValue::get(Result), LHSLV);
1740 // If the result is clearly ignored, return now.
1744 // The result of an assignment in C is the assigned r-value.
1848 Value *result = Builder.CreateExtractValue(resultAndOverflow, 0);
1856 return result;
1869 // result, if it returns.
1885 // the result.
1890 // Truncate the result back to the desired size.
1896 phi->addIncoming(result, initialBB);
1945 Value *result = CGF.Builder.CreateBitCast(pointer, CGF.VoidPtrTy);
1946 result = CGF.Builder.CreateGEP(result, index, "add.ptr");
1947 return CGF.Builder.CreateBitCast(result, pointer->getType());
1974 Value *result = CGF.Builder.CreateBitCast(pointer, CGF.VoidPtrTy);
1975 result = CGF.Builder.CreateGEP(result, index, "add.ptr");
1976 return CGF.Builder.CreateBitCast(result, pointer->getType());
2181 Value *Result;
2188 Result = CGF.CGM.getCXXABI().EmitMemberPointerComparison(
2195 // intrinsics comparing vectors and giving 0 or 1 as a result
2197 // constants for mapping CR6 register bits to predicate result
2255 Result = Builder.CreateCall3(F, CR6Param, FirstVecArg, SecondVecArg, "");
2256 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType());
2260 Result = Builder.CreateFCmp((llvm::CmpInst::Predicate)FCmpOpc,
2263 Result = Builder.CreateICmp((llvm::ICmpInst::Predicate)SICmpOpc,
2267 Result = Builder.CreateICmp((llvm::ICmpInst::Predicate)UICmpOpc,
2271 // If this is a vector comparison, sign extend the result to the appropriate
2274 return Builder.CreateSExt(Result, ConvertType(E->getType()), "sext");
2299 Result = Builder.CreateAnd(ResultR, ResultI, "and.ri");
2303 Result = Builder.CreateOr(ResultR, ResultI, "or.ri");
2307 return EmitScalarConversion(Result, CGF.getContext().BoolTy, E->getType());
2340 // because the result is altered by the store, i.e., [C99 6.5.16p1]
2349 // If the result is clearly ignored, return now.
2353 // The result of an assignment in C is the assigned r-value.
2386 // ZExt result to int or bool.
2428 // ZExt result to int.
2453 // ZExt result to int or bool.
2495 // ZExt result to int.
2554 Value *Result = Visit(live);
2559 if (!Result && !E->getType()->isVoidType())
2560 Result = llvm::UndefValue::get(CGF.ConvertType(E->getType()));
2562 return Result;
2738 /// type, ignoring the result.
2811 Value *Result = 0;
2816 Result)