Searched defs:Val (Results 176 - 200 of 364) sorted by relevance

1234567891011>>

/external/clang/include/clang/Serialization/
H A DASTWriter.h294 unsigned Val; member in union:clang::ASTWriter::DeclUpdate::__anon17635
304 DeclUpdate(unsigned Kind, unsigned Val) argument
305 : Kind(Kind), Val(Val) {}
313 unsigned getNumber() const { return Val; }
H A DModule.h71 llvm::PointerIntPair<const FileEntry *, 2, unsigned> Val; member in class:clang::serialization::InputFile
84 Val.setPointerAndInt(File, intVal);
89 File.Val.setInt(NotFound);
93 const FileEntry *getFile() const { return Val.getPointer(); }
94 bool isOverridden() const { return Val.getInt() == Overridden; }
95 bool isOutOfDate() const { return Val.getInt() == OutOfDate; }
96 bool isNotFound() const { return Val.getInt() == NotFound; }
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1026 getSimplifiedValue(clang::ento::CallEventRef<T> Val) { argument
1027 return Val.get();
/external/clang/lib/Basic/
H A DDiagnostic.cpp482 unsigned Val = 0; local
484 Val *= 10;
485 Val += *Start - '0';
488 return Val;
491 /// TestPluralRange - Test if Val is in the parsed range. Modifies Start.
492 static bool TestPluralRange(unsigned Val, const char *&Start, const char *End) { argument
495 return Ref == Val;
505 return Low <= Val && Val <= High;
747 int Val local
766 unsigned Val = getArgUInt(ArgNo); local
[all...]
/external/clang/lib/CodeGen/
H A DCGAtomic.cpp463 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy,
468 Val = CGF.EmitLoadOfScalar(Val, false, Align, ValTy, Loc);
469 Args.add(RValue::get(Val), ValTy);
472 Args.add(RValue::get(CGF.EmitCastToVoidPtr(Val)),
462 AddDirectArgument(CodeGenFunction &CGF, CallArgList &Args, bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy, SourceLocation Loc) argument
/external/clang/lib/Driver/
H A DDriver.cpp1686 StringRef Val = C.getArgs().getLastArg(options::OPT__SLASH_Fo)->getValue(); local
1687 NamedOutput = MakeCLOutputFilename(C.getArgs(), Val, BaseName,
1692 StringRef Val = C.getArgs().getLastArg(options::OPT__SLASH_Fe)->getValue(); local
1693 NamedOutput = MakeCLOutputFilename(C.getArgs(), Val, BaseName,
/external/clang/lib/Frontend/
H A DCompilerInvocation.cpp318 StringRef Val = RpassArg->getValue(); local
320 std::shared_ptr<llvm::Regex> Pattern = std::make_shared<llvm::Regex>(Val);
493 StringRef Val = A->getValue(); local
495 Val.getAsInteger(10, StackAlignment);
532 StringRef Val = A->getValue(); local
533 if (Val == "fast")
535 else if (Val == "on")
537 else if (Val == "off")
540 Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Val;
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerManager.cpp313 SVal Val; member in struct:__anon18265::CheckBindContext
324 : Checkers(checkers), Loc(loc), Val(val), S(s), Eng(eng), PP(pp) {}
331 checkFn(Loc, Val, S, C);
/external/clang/test/Analysis/
H A Dmisc-ps-region-store.cpp352 float Val = (float)dVal; // no-warning local
353 return Val;
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp109 double Val; member in class:__anon25453::NumberExprAST
111 NumberExprAST(double val) : Val(val) {}
466 return ConstantFP::get(getGlobalContext(), APFloat(Val));
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp114 double Val; member in class:__anon25454::NumberExprAST
116 NumberExprAST(double val) : Val(val) {}
551 return ConstantFP::get(getGlobalContext(), APFloat(Val));
/external/llvm/include/llvm/ADT/
H A DDenseMap.h104 size_type count(const KeyT &Val) const {
106 return LookupBucketFor(Val, TheBucket) ? 1 : 0;
109 iterator find(const KeyT &Val) { argument
111 if (LookupBucketFor(Val, TheBucket))
115 const_iterator find(const KeyT &Val) const {
117 if (LookupBucketFor(Val, TheBucket))
128 iterator find_as(const LookupKeyT &Val) { argument
130 if (LookupBucketFor(Val, TheBucket))
135 const_iterator find_as(const LookupKeyT &Val) const {
137 if (LookupBucketFor(Val, TheBucke
189 erase(const KeyT &Val) argument
330 getHashValue(const KeyT &Val) argument
334 getHashValue(const LookupKeyT &Val) argument
459 LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const argument
509 LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) argument
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineFrameInfo.h113 bool isSS, const AllocaInst *Val)
115 isSpillSlot(isSS), Alloca(Val), PreAllocated(false) {}
112 StackObject(uint64_t Sz, unsigned Al, int64_t SP, bool IM, bool isSS, const AllocaInst *Val) argument
H A DSelectionDAG.h399 SDValue getConstant(uint64_t Val, EVT VT, bool isTarget = false,
401 SDValue getConstant(const APInt &Val, EVT VT, bool isTarget = false,
403 SDValue getConstant(const ConstantInt &Val, EVT VT, bool isTarget = false,
405 SDValue getIntPtrConstant(uint64_t Val, bool isTarget = false);
406 SDValue getTargetConstant(uint64_t Val, EVT VT, bool isOpaque = false) { argument
407 return getConstant(Val, VT, true, isOpaque);
409 SDValue getTargetConstant(const APInt &Val, EVT VT, bool isOpaque = false) { argument
410 return getConstant(Val, VT, true, isOpaque);
412 SDValue getTargetConstant(const ConstantInt &Val, EVT VT, argument
414 return getConstant(Val, V
421 getTargetConstantFP(double Val, EVT VT) argument
424 getTargetConstantFP(const APFloat& Val, EVT VT) argument
427 getTargetConstantFP(const ConstantFP &Val, EVT VT) argument
[all...]
/external/llvm/include/llvm/IR/
H A DValue.h470 if (Val) removeFromList();
471 Val = V;
480 static inline bool doit(const Value &Val) { argument
481 return Val.getValueID() >= Value::ConstantFirstVal &&
482 Val.getValueID() <= Value::ConstantLastVal;
487 static inline bool doit (const Value &Val) { argument
488 return Val.getValueID() == Value::ArgumentVal;
493 static inline bool doit(const Value &Val) { argument
494 return Val.getValueID() == Value::InlineAsmVal;
499 static inline bool doit(const Value &Val) { argument
505 doit(const Value &Val) argument
511 doit(const Value &Val) argument
517 doit(const Value &Val) argument
523 doit(const Value &Val) argument
529 doit(const Value &Val) argument
535 doit(const Value &Val) argument
541 doit(const Value &Val) argument
[all...]
/external/llvm/include/llvm/MC/
H A DMCRegisterInfo.h189 uint16_t Val; member in class:llvm::MCRegisterInfo::DiffListIterator
194 DiffListIterator() : Val(0), List(nullptr) {}
200 Val = InitVal;
210 Val += D;
220 unsigned operator*() const { return Val; }
/external/llvm/include/llvm/Support/
H A DGCOV.h190 bool readInt(uint32_t &Val) { argument
197 Val = *(const uint32_t *)(Str.data());
201 bool readInt64(uint64_t &Val) { argument
204 Val = ((uint64_t)Hi << 32) | Lo;
H A DYAMLTraits.h461 void enumCase(T &Val, const char* Str, const T ConstVal) { argument
462 if ( matchEnumScalar(Str, outputting() && Val == ConstVal) ) {
463 Val = ConstVal;
469 void enumCase(T &Val, const char* Str, const uint32_t ConstVal) { argument
470 if ( matchEnumScalar(Str, outputting() && Val == static_cast<T>(ConstVal)) ) {
471 Val = ConstVal;
476 void bitSetCase(T &Val, const char* Str, const T ConstVal) { argument
477 if ( bitSetMatch(Str, outputting() && (Val & ConstVal) == ConstVal) ) {
478 Val = Val | ConstVa
484 bitSetCase(T &Val, const char* Str, const uint32_t ConstVal) argument
491 maskedBitSetCase(T &Val, const char *Str, T ConstVal, T Mask) argument
497 maskedBitSetCase(T &Val, const char *Str, uint32_t ConstVal, uint32_t Mask) argument
507 mapRequired(const char* Key, T& Val) argument
513 mapOptional(const char* Key, T& Val) argument
521 mapOptional(const char* Key, Optional<T> &Val) argument
527 mapOptional(const char* Key, T& Val) argument
532 mapOptional(const char* Key, T& Val, const T& Default) argument
538 processKeyWithDefault(const char *Key, Optional<T> &Val, const Optional<T> &DefaultValue, bool Required) argument
558 processKeyWithDefault(const char *Key, T &Val, const T& DefaultValue, bool Required) argument
575 processKey(const char *Key, T &Val, bool Required) argument
592 yamlize(IO &io, T &Val, bool) argument
600 yamlize(IO &io, T &Val, bool) argument
613 yamlize(IO &io, T &Val, bool) argument
634 yamlize(IO &io, T &Val, bool) argument
654 yamlize(IO &io, T &Val, bool) argument
662 yamlize(IO &io, T &Val, bool) argument
[all...]
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp286 uint64_t Val = CI->getZExtValue();
293 CurPtr[i] = (unsigned char)(Val >> (n * 8));
1376 static Constant *ConstantFoldConvertToInt(const APFloat &Val, argument
1387 APFloat::opStatus status = Val.convertToInteger(&UIntVal, ResultWidth,
1416 APFloat Val(Op->getValueAPF());
1419 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost);
1421 return ConstantInt::get(Ty->getContext(), Val.bitcastToAPInt());
1557 APFloat Val(APFloat::IEEEhalf, Op->getValue());
1561 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost);
1568 return ConstantFP::get(Ty->getContext(), Val);
[all...]
H A DLazyValueInfo.cpp79 /// Val: This stores the current lattice value along with the Constant* for
82 Constant *Val; member in class:__anon25686::LVILatticeVal
86 LVILatticeVal() : Tag(undefined), Val(nullptr), Range(1, true) {}
114 return Val;
119 return Val;
148 Val = V;
166 Val = V;
198 Val = RHS.Val;
205 if (Val
278 operator <<(raw_ostream &OS, const LVILatticeVal &Val) argument
348 Value *Val; member in struct:__anon25688::LazyValueInfoCache::OverDefinedCacheUpdater
468 hasBlockValue(Value *Val, BasicBlock *BB) argument
480 getBlockValue(Value *Val, BasicBlock *BB) argument
489 solveBlockValue(Value *Val, BasicBlock *BB) argument
585 solveBlockValueNonLocal(LVILatticeVal &BBLV, Value *Val, BasicBlock *BB) argument
780 getEdgeValueLocal(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result) argument
871 getEdgeValue(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result) argument
[all...]
H A DMemoryDependenceAnalysis.cpp101 /// RemoveFromReverseMap - This is a helper function that removes Val from
106 Instruction *Inst, KeyTy Val) {
110 bool Found = InstIt->second.erase(Val);
876 NonLocalDepEntry Val = Cache.back(); local
879 std::upper_bound(Cache.begin(), Cache.end()-1, Val);
880 Cache.insert(Entry, Val);
886 NonLocalDepEntry Val = Cache.back(); local
889 std::upper_bound(Cache.begin(), Cache.end(), Val);
890 Cache.insert(Entry, Val);
1499 const NonLocalDepInfo &Val local
104 RemoveFromReverseMap(DenseMap<Instruction*, SmallPtrSet<KeyTy, 4> > &ReverseMap, Instruction *Inst, KeyTy Val) argument
[all...]
H A DValueTracking.cpp1293 // Return # leading zeros. We use 'min' here in case Val was zero before
1503 APInt Val = CI->getValue(); local
1505 while (Val.getBitWidth() != 8) {
1506 unsigned NextWidth = Val.getBitWidth()/2;
1507 Val2 = Val.lshr(NextWidth);
1508 Val2 = Val2.trunc(Val.getBitWidth()/2);
1509 Val = Val.trunc(Val.getBitWidth()/2);
1512 if (Val !
1523 Value *Val = isBytewiseValue(Elt); local
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp763 SDValue Val = ST->getValue(); local
768 Val = BitConvertToInteger(DAG.getNode(ISD::FP_ROUND, dl, ST->getMemoryVT(),
769 Val, DAG.getIntPtrConstant(0)));
771 Val = GetSoftenedFloat(Val);
773 return DAG.getStore(ST->getChain(), dl, Val, ST->getBasePtr(),
H A DLegalizeVectorOps.cpp716 SDValue Val = DAG.getNode(ISD::OR, DL, MaskTy, Op1, Op2); local
717 return DAG.getNode(ISD::BITCAST, DL, Op.getValueType(), Val);
885 SDValue Val = DAG.getNode(ISD::OR, DL, VT, Op1, Op2); local
886 return DAG.getNode(ISD::BITCAST, DL, Op.getValueType(), Val);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp1030 void ExecutionEngine::StoreValueToMemory(const GenericValue &Val, argument
1039 StoreIntToMemory(Val.IntVal, (uint8_t*)Ptr, StoreBytes);
1042 *((float*)Ptr) = Val.FloatVal;
1045 *((double*)Ptr) = Val.DoubleVal;
1048 memcpy(Ptr, Val.IntVal.getRawData(), 10);
1055 *((PointerTy*)Ptr) = Val.PointerVal;
1058 for (unsigned i = 0; i < Val.AggregateVal.size(); ++i) {
1060 *(((double*)Ptr)+i) = Val.AggregateVal[i].DoubleVal;
1062 *(((float*)Ptr)+i) = Val.AggregateVal[i].FloatVal;
1064 unsigned numOfBytes =(Val
1211 GenericValue Val = getConstantValue(Init); local
[all...]

Completed in 652 milliseconds

1234567891011>>