/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 100 const APInt &Val = CI->getValue(); local 101 if (Val.isSignBit())
|
/external/llvm/lib/Transforms/Utils/ |
H A D | AddrModeMatcher.cpp | 204 // TODO: We can handle "Or Val, Imm" iff this OR is equivalent to an ADD. 455 /// ValueAlreadyLiveAtInst - Retrn true if Val is already known to be live at 459 bool AddressingModeMatcher::ValueAlreadyLiveAtInst(Value *Val,Value *KnownLive1, argument 461 // If Val is either of the known-live values, we know it is live! 462 if (Val == 0 || Val == KnownLive1 || Val == KnownLive2) 466 if (!isa<Instruction>(Val) && !isa<Argument>(Val)) return true; 468 // If Val i [all...] |
H A D | BuildLibCalls.cpp | 213 /// a pointer, Val is an i32 value, and Len is an 'intptr_t' value. 214 Value *llvm::EmitMemChr(Value *Ptr, Value *Val, argument 230 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); 502 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), local 504 B.CreateMemSet(CI->getArgOperand(0), Val, CI->getArgOperand(2), 1);
|
H A D | BypassSlowDivision.cpp | 63 static unsigned getHashValue(const DivOpInfo &Val) { argument 64 return (unsigned)(reinterpret_cast<uintptr_t>(Val.Dividend) ^ 65 reinterpret_cast<uintptr_t>(Val.Divisor)) ^ 66 (unsigned)Val.SignedOp;
|
H A D | LowerSwitch.cpp | 63 BasicBlock* switchConvert(CaseItr Begin, CaseItr End, Value* Val, 65 BasicBlock* newLeafBlock(CaseRange& Leaf, Value* Val, 119 Value* Val, BasicBlock* OrigBlock, 125 return newLeafBlock(*Begin, Val, OrigBlock, Default); 138 BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val, 140 BasicBlock* RBranch = switchConvert(RHS.begin(), RHS.end(), Val, 146 BasicBlock* NewNode = BasicBlock::Create(Val->getContext(), "NodeBlock"); 151 Val, Pivot.Low, "Pivot"); 163 BasicBlock* LowerSwitch::newLeafBlock(CaseRange& Leaf, Value* Val, argument 168 BasicBlock* NewLeaf = BasicBlock::Create(Val 118 switchConvert(CaseItr Begin, CaseItr End, Value* Val, BasicBlock* OrigBlock, BasicBlock* Default) argument 262 Value *Val = SI->getCondition(); // The value we are switching on... local [all...] |
/external/llvm/unittests/Support/ |
H A D | Path.cpp | 351 StringRef Val("hello there"); 359 std::copy(Val.begin(), Val.end(), mfr.data()); 361 mfr.data()[Val.size()] = 0; 374 EXPECT_EQ(StringRef(mfr.const_data()), Val); local
|
/external/zlib/src/contrib/iostream2/ |
H A D | zstream.h | 46 struct Val { unsigned char byte; size_t word; } val; struct in class:zstringlen
|
/external/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 36 llvm::APSInt Val; member in class:__anon127::PPValue 39 PPValue(unsigned BitWidth) : Val(BitWidth) {} 41 unsigned getBitWidth() const { return Val.getBitWidth(); } 42 bool isUnsigned() const { return Val.isUnsigned(); } 111 Result.Val = II->hasMacroDefinition(); 112 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. 115 if (Result.Val != 0 && ValueLive) { 183 Result.Val = II->getTokenID() == tok::kw_true; 184 Result.Val.setIsUnsigned(false); // "0" is signed intmax_t 0. 228 if (Literal.GetIntegerValue(Result.Val)) { [all...] |
/external/clang/lib/Rewrite/Core/ |
H A D | DeltaTree.cpp | 420 const SourceDelta &Val = Node->getValue(NumValsGreater); local 422 if (Val.FileLoc >= FileIndex) 424 Result += Val.Delta;
|
/external/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 199 llvm::APSInt Val; local 205 !Alignment->isIntegerConstantExpr(Val, Context) || 206 !(Val == 0 || Val.isPowerOf2()) || 207 Val.getZExtValue() > 16) { 212 AlignmentVal = (unsigned) Val.getZExtValue();
|
/external/clang/include/clang/Lex/ |
H A D | Token.h | 230 void setFlagValue(TokenFlags Flag, bool Val) { argument 231 if (Val)
|
/external/clang/include/clang/Sema/ |
H A D | Ownership.h | 131 /// stored in the low bit of the Val pointer. 135 PtrTy Val; member in class:clang::ActionResult 140 : Val(PtrTy()), Invalid(Invalid) {} 141 ActionResult(PtrTy val) : Val(val), Invalid(false) {} 142 ActionResult(const DiagnosticBuilder &) : Val(PtrTy()), Invalid(true) {} 149 bool isUsable() const { return !Invalid && Val; } 151 PtrTy get() const { return Val; } 153 PtrTy release() const { return Val; } 154 PtrTy take() const { return Val; } 157 void set(PtrTy V) { Val [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DeadStoresChecker.cpp | 203 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, argument 219 Report(VD, dsk, ExLoc, Val->getSourceRange()); 223 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument 226 CheckVarDecl(VD, DR, Val, dsk, Live);
|
H A D | GenericTaintChecker.cpp | 445 SVal Val = State->getSVal(*AddrLoc, local 447 return Val.getAsSymbol(); 581 SVal Val = State->getSVal(E, C.getLocationContext()); local 584 const MemRegion *MemReg = Val.getAsRegion();
|
/external/clang/test/CodeGen/ |
H A D | 2002-07-14-MiscTests3.c | 63 int BadFunc(float Val) { argument 65 if (Val > 12.345) Result = 4;
|
/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/Chapter2/ |
H A D | toy.cpp | 86 double Val; member in class:NumberExprAST 88 NumberExprAST(double val) : Val(val) {}
|
/external/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 570 static unsigned getHashValue(const AliasAnalysis::Location &Val) { argument 571 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 572 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^ 573 DenseMapInfo<const MDNode *>::getHashValue(Val.TBAATag);
|
H A D | AliasSetTracker.h | 40 Value *Val; // The pointer this record corresponds to. member in class:llvm::AliasSet::PointerRec 47 : Val(V), PrevInList(0), NextInList(0), AS(0), Size(0), 50 Value *getValue() const { return Val; }
|
/external/llvm/include/llvm/Bitcode/ |
H A D | BitstreamWriter.h | 121 void Emit(uint32_t Val, unsigned NumBits) { argument 123 assert((Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"); 124 CurValue |= Val << CurBit; 134 CurValue = Val >> (32-CurBit); 140 void Emit64(uint64_t Val, unsigned NumBits) { argument 142 Emit((uint32_t)Val, NumBits); 144 Emit((uint32_t)Val, 32); 145 Emit((uint32_t)(Val >> 32), NumBits-32); 157 void EmitVBR(uint32_t Val, unsigned NumBits) { argument 162 while (Val > 170 EmitVBR64(uint64_t Val, unsigned NumBits) argument 188 EmitCode(unsigned Val) argument [all...] |
/external/llvm/include/llvm/MC/ |
H A D | MCInst.h | 78 void setImm(int64_t Val) { argument 80 ImmVal = Val; 88 void setFPImm(double Val) { argument 90 FPImmVal = Val; 97 void setExpr(const MCExpr *Val) { argument 99 ExprVal = Val; 106 void setInst(const MCInst *Val) { argument 108 InstVal = Val; 117 static MCOperand CreateImm(int64_t Val) { argument 120 Op.ImmVal = Val; 123 CreateFPImm(double Val) argument 129 CreateExpr(const MCExpr *Val) argument 135 CreateInst(const MCInst *Val) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | NoFolder.h | 290 Instruction *CreateInsertValue(Constant *Agg, Constant *Val, argument 292 return InsertValueInst::Create(Agg, Val, IdxList);
|
/external/llvm/include/llvm/ |
H A D | Value.h | 330 if (Val) removeFromList(); 331 Val = V; 340 static inline bool doit(const Value &Val) { argument 341 return Val.getValueID() >= Value::ConstantFirstVal && 342 Val.getValueID() <= Value::ConstantLastVal; 347 static inline bool doit (const Value &Val) { argument 348 return Val.getValueID() == Value::ArgumentVal; 353 static inline bool doit(const Value &Val) { argument 354 return Val.getValueID() == Value::InlineAsmVal; 359 static inline bool doit(const Value &Val) { argument 365 doit(const Value &Val) argument 371 doit(const Value &Val) argument 377 doit(const Value &Val) argument 383 doit(const Value &Val) argument 389 doit(const Value &Val) argument 396 doit(const Value &Val) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | AliasSetTracker.cpp | 317 Value *Val = SI->getOperand(0); local 319 AA.getTypeStoreSize(Val->getType()),
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 608 if (GlobalValue *Val = M->getNamedValue(Name)) { 618 if (Val->getType() != GA->getType()) 624 Val->replaceAllUsesWith(GA); 625 Val->eraseFromParent(); 756 GlobalValue *Val = local 761 if (Val == 0) { 765 Val = I->second.first; 769 if (Val) { 770 if (Val->getType() == Ty) return Val; 795 GlobalValue *Val = ID < NumberedVals.size() ? NumberedVals[ID] : 0; local [all...] |