/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 508 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); local 509 Res->setHasNoSignedWrap(I.hasNoSignedWrap()); 510 Res->setHasNoUnsignedWrap(I.hasNoUnsignedWrap()); 511 return Res; 640 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) 641 return ReplaceInstUsesWith(I, Res); 646 if (Value *Res = OptimizePointerDifference(LHSOp, RHSOp, I.getType())) 647 return ReplaceInstUsesWith(I, Res);
|
H A D | InstCombineLoadStoreAlloca.cpp | 367 if (Instruction *Res = InstCombineLoadCast(*this, LI, TD)) 368 return Res; 411 if (Instruction *Res = InstCombineLoadCast(*this, LI, TD)) 412 return Res; 671 if (Instruction *Res = InstCombineStoreToCast(*this, SI)) 672 return Res; 675 if (Instruction *Res = InstCombineStoreToCast(*this, SI)) 676 return Res;
|
H A D | InstCombineAndOrXor.cpp | 1108 if (Instruction *Res = OptAndOp(Op0I, Op0CI, AndRHS, I)) 1109 return Res; 1199 if (Value *Res = FoldAndOfICmps(LHS, RHS)) 1200 return ReplaceInstUsesWith(I, Res); 1205 if (Value *Res = FoldAndOfFCmps(LHS, RHS)) 1206 return ReplaceInstUsesWith(I, Res); 1229 if (Value *Res = FoldAndOfICmps(LHS, RHS)) 1230 return CastInst::Create(Op0C->getOpcode(), Res, I.getType()); 1236 if (Value *Res = FoldAndOfFCmps(LHS, RHS)) 1237 return CastInst::Create(Op0C->getOpcode(), Res, [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 161 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), local 163 if (Res != Result) return false;
|
H A D | SimplifyLibCalls.cpp | 1225 Value *Res = EmitPutChar(B.getInt32(FormatStr[0]), B, TD, TLI); local 1226 if (CI->use_empty() || !Res) return Res; 1227 return B.CreateIntCast(Res, CI->getType(), true); 1247 Value *Res = EmitPutChar(CI->getArgOperand(1), B, TD, TLI); local 1249 if (CI->use_empty() || !Res) return Res; 1250 return B.CreateIntCast(Res, CI->getType(), true); 1542 Value *Res = EmitPutChar(B.getInt32('\n'), B, TD, TLI); local 1543 if (CI->use_empty() || !Res) retur [all...] |
/external/llvm/lib/Support/ |
H A D | APInt.cpp | 1957 APInt Res = *this+RHS; 1959 Res.isNonNegative() != isNonNegative(); 1960 return Res; 1964 APInt Res = *this+RHS; 1965 Overflow = Res.ult(RHS); 1966 return Res; 1970 APInt Res = *this - RHS; 1972 Res.isNonNegative() != isNonNegative(); 1973 return Res; 1977 APInt Res [all...] |
/external/clang/lib/Lex/ |
H A D | TokenLexer.cpp | 152 Token Res; local 154 Res = ActualArgs->getStringifiedArgument(ArgNo, PP, 159 Res = MacroArgs::StringifyArgument(ActualArgs->getUnexpArgument(ArgNo), 168 Res.setFlag(Token::LeadingSpace); 170 ResultToks.push_back(Res);
|
H A D | PreprocessingRecord.cpp | 63 Res = getPreprocessedEntitiesInRangeSlow(Range); local 66 CachedRangeQuery.Result = Res; 68 return std::make_pair(iterator(this, Res.first), iterator(this, Res.second));
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 131 BasicBlock *Res; local 134 Res = PFS->GetBB(Refs[i].first.StrVal, Refs[i].first.Loc); 136 Res = PFS->GetBB(Refs[i].first.UIntVal, Refs[i].first.Loc); 141 Res = dyn_cast_or_null<BasicBlock>( 145 if (Res == 0) 150 BlockAddress *BA = BlockAddress::get(TheFn, Res); 1005 bool LLParser::ParseOptionalLinkage(unsigned &Res, bool &HasLinkage) { 1008 default: Res=GlobalValue::ExternalLinkage; return false; 1009 case lltok::kw_private: Res = GlobalValue::PrivateLinkage; break; 1010 case lltok::kw_linker_private: Res [all...] |
/external/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 145 Decl *Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc, local 152 if (Res) { 153 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, false); 155 checkARCPropertyDecl(*this, cast<ObjCPropertyDecl>(Res)); 157 ActOnDocumentableDecl(Res); 158 return Res; 161 ObjCPropertyDecl *Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD, local 168 Res->setLexicalDeclContext(lexicalDC); 171 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, 176 checkARCPropertyDecl(*this, Res); 1035 ExprResult Res = local 1073 ExprResult Res = BuildBinOp(S, lhs->getLocEnd(), local [all...] |
H A D | SemaLookup.cpp | 3108 NamedDecl *Res = 0; local 3112 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc); 3114 PushOnScopeChains(Res, S, true); 3115 return cast<LabelDecl>(Res); 3119 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); 3122 if (Res && Res->getDeclContext() != CurContext) 3123 Res = 0; 3124 if (Res == 0) { 3126 Res 3473 LookupPotentialTypoResult(Sema &SemaRef, LookupResult &Res, IdentifierInfo *Name, Scope *S, CXXScopeSpec *SS, DeclContext *MemberContext, bool EnteringContext, bool isObjCIvarLookup) argument [all...] |
H A D | DeclSpec.cpp | 311 unsigned Res = 0; local 314 Res |= PQ_StorageClassSpecifier; 317 Res |= PQ_TypeQualifier; 320 Res |= PQ_TypeSpecifier; 323 Res |= PQ_FunctionSpecifier; 324 return Res;
|
H A D | SemaStmt.cpp | 2193 ExprResult Res = ExprError(); local 2236 Res = Seq.Perform(*this, Entity, Kind, MultiExprArg(&Value, 1)); 2244 if (Res.isInvalid()) 2245 Res = PerformCopyInitialization(Entity, SourceLocation(), Value); 2247 return Res; 2342 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate, local 2344 if (Res.isInvalid()) { 2348 RetValExp = Res.take(); 2483 ExprResult Res = PerformCopyInitialization(Entity, SourceLocation(), local 2485 if (Res 2502 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate, local [all...] |
H A D | SemaExprCXX.cpp | 583 ExprResult Res = DefaultFunctionArrayConversion(E); local 584 if (Res.isInvalid()) 586 E = Res.take(); 629 Res = PerformMoveOrCopyInitialization(Entity, NRVOVariable, 632 if (Res.isInvalid()) 634 E = Res.take(); 2093 ExprResult Res = local 2097 if (Res.isUsable()) { 2098 Ex = Res; 2407 ExprResult Res local 2441 ExprResult Res = local 5455 ExprResult Res = DefaultLvalueConversion(E); local 5472 ExprResult Res = DefaultFunctionArrayLvalueConversion(E); local [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
H A D | FormatString.h | 229 ArgType Res = A; local 230 Res.Ptr = true; 231 return Res;
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMachObjectWriter.cpp | 367 int64_t Res; local 369 Res, Layout, Writer->getSectionAddressMap())) { 370 FixedValue = Res;
|
H A D | ARMAsmBackend.cpp | 124 void relaxInstruction(const MCInst &Inst, MCInst &Res) const; 198 void ARMAsmBackend::relaxInstruction(const MCInst &Inst, MCInst &Res) const { 212 Res = Inst; 213 Res.setOpcode(RelaxedOp);
|
/external/llvm/include/llvm/Support/ |
H A D | IntegersSubsetMapping.h | 551 const IntTy* Res = 0; local 556 if (Res) 559 Res = &(i->first.getLow()); 561 return Res;
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsAsmBackend.cpp | 220 /// \parm Res [output] - On return, the relaxed instruction. 221 void relaxInstruction(const MCInst &Inst, MCInst &Res) const {
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCAsmBackend.cpp | 100 void relaxInstruction(const MCInst &Inst, MCInst &Res) const {
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenInstruction.cpp | 362 std::string Res = ""; local 374 Res += Cur.slice(0, VariantsStart); 395 Res += Selection.split('|').first; 402 return Res;
|
/external/llvm/include/llvm/ADT/ |
H A D | StringRef.h | 144 if (int Res = compareMemory(Data, RHS.Data, min(Length, RHS.Length))) 145 return Res < 0 ? -1 : 1;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinterInlineAsm.cpp | 135 int Res = Parser->Run(/*NoInitialTextSection*/ true, local 137 if (Res && !HasDiagHandler)
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 810 SDValue Res = DAG.getTargetConstant(Flag, MVT::i32); local 811 Ops.push_back(Res); 1902 SDValue Res = DAG.getNode(ISD::MERGE_VALUES, getCurDebugLoc(), local 1906 std::pair<SDValue, SDValue> RetPair = std::make_pair(Res, Chain); 3012 SDValue Res; local 3015 Res = DAG.getUNDEF(EltVT); 3020 Res = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, getCurDebugLoc(), 3024 Ops.push_back(Res); 4388 SDValue Res; // Logically starts equal to 1.0 local 4392 if (Res 4512 SDValue Res; local 5567 SDValue Res = DAG.getSetCC(getCurDebugLoc(), MVT::i1, LHSVal, RHSVal, local 6594 SDValue Res = LowerOperation(SDValue(N, 0), DAG); local 6811 SDValue Res = DAG.getMergeValues(&ArgValues[0], NumValues, local [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 243 size_t Res = CountTrailingZeros_32(TypeSize / 8); local 244 assert(Res < kNumberOfAccessSizes); 245 return Res; 800 bool Res = false; local 803 Res |= insertGlobalRedzones(M); 826 Res |= handleFunction(M, *F); 831 return Res;
|