/external/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 358 SDValue Val = Op1.getOperand(0); local 359 if (Val.getOpcode() == ISD::TargetGlobalTLSAddress) 584 static bool isDispSafeForFrameIndex(int64_t Val) { argument 591 return isInt<31>(Val); 596 int64_t Val = AM.Disp + Offset; local 599 if (!X86::isOffsetSuitableForCodeModel(Val, M, 605 !isDispSafeForFrameIndex(Val)) 608 AM.Disp = Val; 1001 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue(); local 1002 if (!FoldOffsetIntoAddress(Val, A 1034 unsigned Val = CN->getZExtValue(); local 1716 getAtomicLoadArithTargetConstant(SelectionDAG *CurDAG, SDLoc dl, enum AtomicOpc &Op, MVT NVT, SDValue Val) argument 1776 SDValue Val = Node->getOperand(2); local 2158 int64_t Val = Cst->getSExtValue(); local [all...] |
/external/llvm/unittests/Support/ |
H A D | Casting.cpp | 44 static inline bool doit(const bar &Val) { argument 45 dbgs() << "Classof: " << &Val << "\n"; 71 static SimpleType getSimplifiedValue(foo &Val) { return 0; } argument
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 113 SDValue Val = Parts[0]; local 144 Val = DAG.getNode(ISD::BUILD_PAIR, DL, RoundVT, Lo, Hi); 154 Lo = Val; 163 Val = DAG.getNode(ISD::OR, DL, TotalVT, Lo, Hi); 174 Val = DAG.getNode(ISD::BUILD_PAIR, DL, ValueVT, Lo, Hi); 180 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT, V); 184 // There is now one part, held in Val. Correct it to match ValueVT. 185 EVT PartEVT = Val.getValueType(); 188 return Val; 196 Val 243 SDValue Val = Parts[0]; local 346 getCopyToParts(SelectionDAG &DAG, SDLoc DL, SDValue Val, SDValue *Parts, unsigned NumParts, MVT PartVT, const Value *V, ISD::NodeType ExtendKind = ISD::ANY_EXTEND) argument 469 getCopyToPartsVector(SelectionDAG &DAG, SDLoc DL, SDValue Val, SDValue *Parts, unsigned NumParts, MVT PartVT, const Value *V) argument 763 getCopyToRegs(SDValue Val, SelectionDAG &DAG, SDLoc dl, SDValue &Chain, SDValue *Flag, const Value *V) const argument [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAG.cpp | 442 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue(); local 451 if (TII->isValidAutoIncImm(LoadedVT, Val)) { 452 SDValue TargetConst = CurDAG->getTargetConstant(Val, MVT::i32); 473 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32); 509 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue(); local 518 if (TII->isValidAutoIncImm(LoadedVT, Val)) { 519 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32); 547 SDValue TargetConstVal = CurDAG->getTargetConstant(Val, MVT::i32); 586 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue(); local 597 if (TII->isValidAutoIncImm(LoadedVT, Val)) 699 int32_t Val = cast<ConstantSDNode>(OffsetNode)->getSExtValue(); local 1110 SDValue Val = CurDAG->getTargetConstant(ValConst, local 1138 SDValue Val = CurDAG->getTargetConstant(-ValConst, MVT::i32); local 1245 int32_t Val = cast<ConstantSDNode>(Arg)->getSExtValue(); local 1288 int32_t Val = cast<ConstantSDNode>(N)->getSExtValue(); local [all...] |
/external/clang/lib/Parse/ |
H A D | ParseOpenMP.cpp | 415 ExprResult Val(ParseRHSOfBinaryExpression(LHS, prec::Conditional)); 420 if (Val.isInvalid()) 424 Kind, Val.get(), Loc, T.getOpenLocation(), T.getCloseLocation()); 489 ExprResult Val; 503 Val = ParseRHSOfBinaryExpression(LHS, prec::Conditional); 504 if (Val.isInvalid()) 512 Kind, Type, Val.get(), Loc, T.getOpenLocation(), KLoc, CommaLoc,
|
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 393 Cleanup(APValue *Val, bool IsLifetimeExtended) argument 394 : Value(Val, IsLifetimeExtended) {} 1126 APValue Val; local 1127 Frame->This->moveInto(Val); 1128 Val.printPretty(Out, Frame->Info.Ctx, 1130 // FIXME: Add parens around Val if needed. 1434 static bool HandleConversionToBool(const APValue &Val, bool &Result) { argument 1435 switch (Val.getKind()) { 1439 Result = Val.getInt().getBoolValue(); 1442 Result = !Val 1471 APValue Val; local [all...] |
/external/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 41 template<typename Val, typename Pattern> 42 bool match(Val *V, const Pattern &P) { 186 template<int64_t Val> 192 if (Val >= 0) 193 return CIV == static_cast<uint64_t>(Val); 194 // If Val is negative, and CI is shorter than it, truncate to the right 197 return -CIV == -Val; 204 template<int64_t Val> 205 inline constantint_match<Val> m_ConstantInt() { 206 return constantint_match<Val>(); 313 const Value *Val; member in struct:llvm::PatternMatch::specificval_ty 328 double Val; member in struct:llvm::PatternMatch::specific_fpval 1115 Opnd_t Val; member in struct:llvm::PatternMatch::Argument_match [all...] |
/external/clang/include/clang/AST/ |
H A D | Expr.h | 554 /// Val - This is the value the expression can be folded to. 555 APValue Val; member in struct:clang::Expr::EvalResult 1243 void setIntValue(const ASTContext &C, const llvm::APInt &Val); 1249 void setValue(const ASTContext &C, const llvm::APInt &Val) { argument 1250 setIntValue(C, Val); 1259 void setValue(const ASTContext &C, const llvm::APFloat &Val) { argument 1260 setIntValue(C, Val.bitcastToAPInt()); 1339 void setValue(unsigned Val) { Value = Val; } argument 1366 void setValue(const ASTContext &C, const llvm::APFloat &Val) { argument 1417 Stmt *Val; member in class:clang::ImaginaryLiteral 1618 L(l), R(r), Val(val) {} function 1665 Stmt *Val; member in class:clang::StringLiteral::UnaryOperator 3665 Stmt *Val; member in class:clang::StringLiteral::OffsetOfExpr::VAArgExpr [all...] |
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 74 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { argument 75 switch (Val) { 97 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { argument 98 switch (Val) { 107 GetDecodedDLLStorageClass(unsigned Val) { argument 108 switch (Val) { 116 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { argument 117 switch (Val) { 127 static int GetDecodedCastOpcode(unsigned Val) { argument 128 switch (Val) { 145 GetDecodedBinaryOpcode(unsigned Val, Type *Ty) argument 169 GetDecodedRMWOperation(unsigned Val) argument 186 GetDecodedOrdering(unsigned Val) argument 199 GetDecodedSynchScope(unsigned Val) argument 207 getDecodedComdatSelectionKind(unsigned Val) argument 223 UpgradeDLLImportExportLinkage(llvm::GlobalValue *GV, unsigned Val) argument 2806 Value *Val = nullptr; local 2864 Value *Val; local 2934 Value *Val, *Ptr; local 2948 Value *Val, *Ptr; local 3012 Value *Ptr, *Val; local [all...] |
/external/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 225 DIEnumerator DIBuilder::createEnumerator(StringRef Name, int64_t Val) { argument 230 ConstantInt::get(Type::getInt64Ty(VMContext), Val) 451 llvm::Value *Val) { 465 Val 563 Value *Val, MDNode *File, 571 Val, 583 DIType Ty, Value *Val, 587 Context, Name, Ty, Val, File, LineNo, 593 DIType Ty, StringRef Val, 598 MDString::get(VMContext, Val), Fil 448 createStaticMemberType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, DIType Ty, unsigned Flags, llvm::Value *Val) argument 561 createTemplateValueParameter(unsigned Tag, DIDescriptor Context, StringRef Name, DIType Ty, Value *Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 582 createTemplateValueParameter(DIDescriptor Context, StringRef Name, DIType Ty, Value *Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 592 createTemplateTemplateParameter(DIDescriptor Context, StringRef Name, DIType Ty, StringRef Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 602 createTemplateParameterPack(DIDescriptor Context, StringRef Name, DIType Ty, DIArray Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument 972 createGlobalVariable(StringRef Name, StringRef LinkageName, DIFile F, unsigned LineNumber, DITypeRef Ty, bool isLocalToUnit, Value *Val) argument 998 createGlobalVariable(StringRef Name, DIFile F, unsigned LineNumber, DITypeRef Ty, bool isLocalToUnit, Value *Val) argument 1009 createStaticVariable(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile F, unsigned LineNumber, DITypeRef Ty, bool isLocalToUnit, Value *Val, MDNode *Decl) argument [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | APInt.h | 211 bool EqualSlowCase(uint64_t Val) const; 543 APInt Val = V.zextOrSelf(NewLen); 545 Val |= Val << I; 547 return Val; 971 /// \returns true if *this == Val 972 bool operator==(uint64_t Val) const { 974 return VAL == Val; 975 return EqualSlowCase(Val); 983 /// \returns true if *this == Val [all...] |
/external/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 69 uint32_t Val = Seed + 0x000b07a1; local 70 Seed = (Val * 0x3c7c0ac1); 77 uint32_t Val = Rand(); local 78 Val &= 0xffff; 79 return Val | (Rand() << 16); 84 uint64_t Val = Rand32(); local 85 return Val | (uint64_t(Rand32()) << 32); 306 Value *Val = getRandomValue(Tp->getContainedType(0)); variable 307 Type *ValTy = Val->getType(); 314 new StoreInst(Val, Pt [all...] |
/external/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.cpp | 2135 SDValue Val = SD->getValue(); local 2137 if (Val.getOpcode() != ISD::FP_TO_SINT) 2140 EVT FPTy = EVT::getFloatingPointVT(Val.getValueSizeInBits()); 2141 SDValue Tr = DAG.getNode(MipsISD::TruncIntFP, SDLoc(Val), FPTy, 2142 Val.getOperand(0)); 2543 const GlobalValue *Val = G->getGlobal(); local 2544 InternalLinkage = Val->hasInternalLinkage(); 2552 FuncInfo->callPtrInfo(Val)); 2555 FuncInfo->callPtrInfo(Val)); 2623 SDValue Val local 2828 SDValue Val = OutVals[i]; local 2852 SDValue Val = DAG.getCopyFromReg(Chain, DL, Reg, getPointerTy()); local 3140 int64_t Val = C->getSExtValue(); local 3150 int64_t Val = C->getZExtValue(); local 3160 uint64_t Val = (uint64_t)C->getZExtValue(); local 3170 int64_t Val = C->getSExtValue(); local 3180 int64_t Val = C->getSExtValue(); local 3190 int64_t Val = C->getSExtValue(); local 3200 int64_t Val = C->getSExtValue(); local 3616 SDValue Val; local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 198 llvm::APSInt Val; local 204 !Alignment->isIntegerConstantExpr(Val, Context) || 205 !(Val == 0 || Val.isPowerOf2()) || 206 Val.getZExtValue() > 16) { 211 AlignmentVal = (unsigned) Val.getZExtValue();
|
/external/llvm/lib/CodeGen/ |
H A D | SjLjEHPrepare.cpp | 155 Value *Val = UseWorkList.pop_back_val(); local 156 ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Val); 426 Value *Val = Builder.CreateCall(FrameAddrFn, Builder.getInt32(0), "fp"); local 427 Builder.CreateStore(Val, FramePtr, /*isVolatile=*/true); 432 Val = Builder.CreateCall(StackAddrFn, "sp"); 433 Builder.CreateStore(Val, StackPtr, /*isVolatile=*/true);
|
/external/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 201 bool validateMSAIndex(int Val, int RegKind); 363 const MCExpr *Val; member in struct:__anon26038::MipsOperand::ImmOp 679 int64_t Val = getConstantImm(); 680 return 1 <= Val && Val <= 4; 701 return Imm.Val; 705 const MCExpr *Val = getImm(); local 706 return static_cast<const MCConstantExpr *>(Val)->getValue(); 791 CreateImm(const MCExpr *Val, SMLoc S, SMLoc E, MipsAsmParser &Parser) { argument 793 Op->Imm.Val 1679 int16_t Val; local 2128 int64_t Val = MCE->getValue(); local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 83 static unsigned getHashValue(SimpleValue Val); 88 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { argument 89 Instruction *Inst = Val.Inst; 226 static unsigned getHashValue(CallValue Val); 230 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) { argument 231 Instruction *Inst = Val.Inst;
|
/external/clang/include/clang/Lex/ |
H A D | Lexer.h | 172 void SetKeepWhitespaceMode(bool Val) { argument 173 assert((!Val || LexingRawMode || LangOpts.TraditionalCPP) && 175 ExtendedTokenMode = Val ? 2 : 0;
|
/external/clang/lib/Rewrite/Core/ |
H A D | DeltaTree.cpp | 417 const SourceDelta &Val = Node->getValue(NumValsGreater); local 419 if (Val.FileLoc >= FileIndex) 421 Result += Val.Delta;
|
/external/llvm/bindings/ocaml/executionengine/ |
H A D | executionengine_ocaml.c | 84 value Val = alloc_custom(&generic_value_ops, sizeof(LLVMGenericValueRef), 0, 1); local 85 Genericvalue_val(Val) = Ref; 86 return Val;
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 93 double Val; member in class:__anon25451::NumberExprAST 95 NumberExprAST(double val) : Val(val) {} 357 return ConstantFP::get(getGlobalContext(), APFloat(Val));
|
/external/llvm/include/llvm/ExecutionEngine/ |
H A D | ExecutionEngine.h | 136 void setDataLayout(const DataLayout *Val) { DL = Val; } argument 421 /// StoreValueToMemory - Stores the data in Val of type Ty at address Ptr. 422 /// Ptr is the address of the memory at which to store Val, cast to 424 /// address at which to store Val. 425 void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr,
|
/external/llvm/lib/Support/ |
H A D | Timer.cpp | 168 static void printVal(double Val, double Total, raw_ostream &OS) { argument 172 OS << format(" %7.4f (%5.1f%%)", Val, Val*100/Total);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SubEngine.h | 129 processPointerEscapedOnBind(ProgramStateRef State, SVal Loc, SVal Val) = 0;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckerDocumentation.cpp | 134 /// \param Val The value which will be stored at the location Loc. 138 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {} argument
|