/external/clang/include/clang/Frontend/ |
H A D | CommandLineSourceLoc.h | 66 clang::ParsedSourceLocation &Val); 72 clang::ParsedSourceLocation &Val) { 75 Val = ParsedSourceLocation::FromString(ArgValue); 76 if (Val.FileName.empty()) { 71 parse(Option &O, StringRef ArgName, StringRef ArgValue, clang::ParsedSourceLocation &Val) argument
|
/external/clang/lib/AST/ |
H A D | TemplateBase.cpp | 41 const llvm::APSInt &Val = TemplArg.getAsIntegral(); local 49 if (llvm::APSInt::isSameValue(ECD->getInitVal(), Val)) { 57 Out << (Val.getBoolValue() ? "true" : "false"); 59 const char Ch = Val.getZExtValue(); 64 Out << Val; local
|
/external/clang/test/CodeCompletion/ |
H A D | function-templates.cpp | 6 X* dyn_cast(Y *Val); 18 // CHECK-CC1: dyn_cast<<#class X#>>(<#Y *Val#>)
|
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.modifiers/ |
H A D | swap.pass.cpp | 72 const char* Val = "aoeuaoeuaoeuaoeuaoeuaoeuaoeuaoeuaoeu"; local 73 path p1(Val); 74 assert(p1 == Val); 79 assert(p1 == Val);
|
/external/llvm/include/llvm/MC/ |
H A D | MCValue.h | 64 int64_t Val = 0, uint32_t RefKind = 0) { 66 R.Cst = Val; 73 static MCValue get(int64_t Val) { argument 75 R.Cst = Val;
|
/external/llvm/lib/ObjectYAML/ |
H A D | YAML.cpp | 23 const yaml::BinaryRef &Val, void *, llvm::raw_ostream &Out) { 24 Val.writeAsHex(Out); 28 yaml::BinaryRef &Val) { 36 Val = yaml::BinaryRef(Scalar); 22 output( const yaml::BinaryRef &Val, void *, llvm::raw_ostream &Out) argument 27 input(StringRef Scalar, void *, yaml::BinaryRef &Val) argument
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64CallLowering.h | 28 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
|
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCallLowering.cpp | 33 const Value *Val, unsigned VReg) const { 32 lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, unsigned VReg) const argument
|
H A D | AMDGPUCallLowering.h | 28 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
|
/external/llvm/tools/llvm-dwp/ |
H A D | DWPStringPool.h | 19 static unsigned getHashValue(const char *Val) { argument 20 assert(Val != getEmptyKey() && "Cannot hash the empty key!"); 21 assert(Val != getTombstoneKey() && "Cannot hash the tombstone key!"); 22 return (unsigned)hash_value(StringRef(Val));
|
/external/llvm/unittests/ADT/ |
H A D | DenseSetTest.cpp | 33 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } argument 34 static unsigned getHashValue(const char* Val) { argument 35 return (unsigned)(Val[0] - 'a') * 37U;
|
/external/llvm/include/llvm/ADT/ |
H A D | Twine.h | 299 explicit Twine(char Val) argument 301 LHS.character = Val; 305 explicit Twine(signed char Val) argument 307 LHS.character = static_cast<char>(Val); 311 explicit Twine(unsigned char Val) argument 313 LHS.character = static_cast<char>(Val); 316 /// Construct a twine to print \p Val as an unsigned decimal integer. 317 explicit Twine(unsigned Val) argument 319 LHS.decUI = Val; 322 /// Construct a twine to print \p Val a 323 Twine(int Val) argument 329 Twine(const unsigned long &Val) argument 335 Twine(const long &Val) argument 341 Twine(const unsigned long long &Val) argument 347 Twine(const long long &Val) argument 384 utohexstr(const uint64_t &Val) argument [all...] |
/external/llvm/include/llvm/Bitcode/ |
H A D | BitCodes.h | 88 uint64_t Val; // A literal value or data for an encoding. member in class:llvm::BitCodeAbbrevOp 93 Fixed = 1, // A fixed width field, Val specifies number of bits. 94 VBR = 2, // A VBR field where Val specifies the width of each chunk. 100 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {} 102 : Val(Data), IsLiteral(false), Enc(E) {} 108 uint64_t getLiteralValue() const { assert(isLiteral()); return Val; } 114 return Val;
|
H A D | BitstreamWriter.h | 115 void Emit(uint32_t Val, unsigned NumBits) { argument 117 assert((Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"); 118 CurValue |= Val << CurBit; 128 CurValue = Val >> (32-CurBit); 134 void Emit64(uint64_t Val, unsigned NumBits) { argument 136 Emit((uint32_t)Val, NumBits); 138 Emit((uint32_t)Val, 32); 139 Emit((uint32_t)(Val >> 32), NumBits-32); 151 void EmitVBR(uint32_t Val, unsigned NumBits) { argument 156 while (Val > 164 EmitVBR64(uint64_t Val, unsigned NumBits) argument 182 EmitCode(unsigned Val) argument [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
H A D | BitCodes.h | 85 uint64_t Val; // A literal value or data for an encoding. member in class:llvm::BitCodeAbbrevOp 90 Fixed = 1, // A fixed width field, Val specifies number of bits. 91 VBR = 2, // A VBR field where Val specifies the width of each chunk. 97 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {} 99 : Val(Data), IsLiteral(false), Enc(E) {} 105 uint64_t getLiteralValue() const { assert(isLiteral()); return Val; } 111 return Val;
|
H A D | BitstreamWriter.h | 90 void Emit(uint32_t Val, unsigned NumBits) { argument 92 assert((Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"); 93 CurValue |= Val << CurBit; 107 CurValue = Val >> (32-CurBit); 113 void Emit64(uint64_t Val, unsigned NumBits) { argument 115 Emit((uint32_t)Val, NumBits); 117 Emit((uint32_t)Val, 32); 118 Emit((uint32_t)(Val >> 32), NumBits-32); 134 void EmitVBR(uint32_t Val, unsigned NumBits) { argument 138 while (Val > 146 EmitVBR64(uint64_t Val, unsigned NumBits) argument 163 EmitCode(unsigned Val) argument [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Value.h | 406 #define HANDLE_VALUE(Name) Name##Val, 410 #define HANDLE_CONSTANT_MARKER(Marker, Constant) Marker = Constant##Val, 614 if (Val) removeFromList(); 615 Val = V; 625 set(RHS.Val); 700 static inline bool doit(const Value &Val) { argument 701 return Val.getValueID() >= Value::ConstantFirstVal && 702 Val.getValueID() <= Value::ConstantLastVal; 707 static inline bool doit(const Value &Val) { argument 708 return Val 714 doit(const Value &Val) argument 721 doit(const Value &Val) argument 727 doit(const Value &Val) argument 733 doit(const Value &Val) argument 739 doit(const Value &Val) argument 745 doit(const Value &Val) argument 751 doit(const Value &Val) argument 757 doit(const Value &Val) argument 763 doit(const Value &Val) argument 769 doit(const Value &Val) argument 775 doit(const Value &Val) argument 781 doit(const Value &Val) argument [all...] |
/external/llvm/lib/Target/ |
H A D | TargetRecip.cpp | 115 StringRef Val = Args[i]; local 117 bool IsDisabled = Val[0] == DisabledPrefix; 120 Val = Val.substr(1); 125 if (parseRefinementStep(Val, RefPos, RefSteps)) { 127 RefStepString = Val.substr(RefPos + 1); 128 Val = Val.substr(0, RefPos); 131 RecipIter Iter = RecipMap.find(Val); 134 Iter = RecipMap.find(Val [all...] |
/external/llvm/lib/Analysis/ |
H A D | CFLGraph.h | 81 auto Itr = ValueImpls.find(N.Val); 87 auto Itr = ValueImpls.find(N.Val); 97 assert(N.Val != nullptr); 98 auto &ValInfo = ValueImpls[N.Val]; 179 void addNode(Value *Val, AliasAttrs Attr = AliasAttrs()) { argument 180 assert(Val != nullptr && Val->getType()->isPointerTy()); 181 if (auto GVal = dyn_cast<GlobalValue>(Val)) { 185 } else if (auto CExpr = dyn_cast<ConstantExpr>(Val)) { 191 Graph.addNode(InstantiatedValue{Val, 258 auto *Val = Inst.getNewValOperand(); local 264 auto *Val = Inst.getValOperand(); local 294 auto *Val = &Inst; local 300 auto *Val = Inst.getValueOperand(); local 421 auto *Val = &Inst; local 427 auto *Val = Inst.getOperand(1); local 441 auto *Val = Inst.getOperand(1); local [all...] |
H A D | LazyValueInfo.cpp | 88 /// Val: This stores the current lattice value along with the Constant* for 91 Constant *Val; member in class:__anon12481::LVILatticeVal 95 LVILatticeVal() : Tag(undefined), Val(nullptr), Range(1, true) {} 128 return Val; 133 return Val; 162 Val = V; 180 Val = V; 212 Val = RHS.Val; 219 if (Val 283 operator <<(raw_ostream &OS, const LVILatticeVal &Val) argument 301 hasSingleValue(const LVILatticeVal &Val) argument 433 insertResult(Value *Val, BasicBlock *BB, const LVILatticeVal &Result) argument 590 hasBlockValue(Value *Val, BasicBlock *BB) argument 598 getBlockValue(Value *Val, BasicBlock *BB) argument 623 solveBlockValue(Value *Val, BasicBlock *BB) argument 737 isObjectDereferencedInBlock(Value *Val, BasicBlock *BB) argument 751 solveBlockValueNonLocal(LVILatticeVal &BBLV, Value *Val, BasicBlock *BB) argument 854 intersectAssumeBlockValueConstantRange(Value *Val, LVILatticeVal &BBLV, Instruction *BBI) argument 1168 getValueFromFromCondition(Value *Val, ICmpInst *ICI, LVILatticeVal &Result, bool isTrueDest) argument 1213 getEdgeValueLocal(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result) argument 1270 getEdgeValue(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result, Instruction *CxtI) argument [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TestAfterDivZeroChecker.cpp | 83 void reportBug(SVal Val, CheckerContext &C) const; 169 void TestAfterDivZeroChecker::reportBug(SVal Val, CheckerContext &C) const { argument 179 R->addVisitor(llvm::make_unique<DivisionBRVisitor>(Val.getAsSymbol(), 229 SVal Val = C.getSVal(LRHS ? B->getLHS() : B->getRHS()); 230 if (hasDivZeroMap(Val, C)) 231 reportBug(Val, C); 235 SVal Val; local 238 Val = C.getSVal(I->getSubExpr()); 240 if (hasDivZeroMap(Val, C)) 241 reportBug(Val, 250 SVal Val = C.getSVal(IE->getSubExpr()); local 255 SVal Val = C.getSVal(Condition); local [all...] |
/external/llvm/lib/IR/ |
H A D | Module.cpp | 292 uint64_t Val = Behavior->getLimitedValue(); local 293 if (Val >= ModFlagBehaviorFirstVal && Val <= ModFlagBehaviorLastVal) { 294 MFB = static_cast<ModFlagBehavior>(Val); 315 Metadata *Val = Flag->getOperand(2); local 316 Flags.push_back(ModuleFlagEntry(MFB, Key, Val)); 328 return MFE.Val; 351 Metadata *Val) { 355 MDString::get(Context, Key), Val}; 359 Constant *Val) { 350 addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val) argument 358 addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val) argument 362 addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val) argument 467 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); local 474 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); local 487 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); local 501 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); local [all...] |
/external/llvm/include/llvm/Support/ |
H A D | YAMLTraits.h | 126 /// Out << Val; 498 void enumCase(T &Val, const char* Str, const T ConstVal) { argument 499 if ( matchEnumScalar(Str, outputting() && Val == ConstVal) ) { 500 Val = ConstVal; 506 void enumCase(T &Val, const char* Str, const uint32_t ConstVal) { argument 507 if ( matchEnumScalar(Str, outputting() && Val == static_cast<T>(ConstVal)) ) { 508 Val = ConstVal; 513 void enumFallback(T &Val) { argument 516 FBT Res = static_cast<typename FBT::BaseType>(Val); 518 Val 523 bitSetCase(T &Val, const char* Str, const T ConstVal) argument 531 bitSetCase(T &Val, const char* Str, const uint32_t ConstVal) argument 538 maskedBitSetCase(T &Val, const char *Str, T ConstVal, T Mask) argument 544 maskedBitSetCase(T &Val, const char *Str, uint32_t ConstVal, uint32_t Mask) argument 554 mapRequired(const char* Key, T& Val) argument 560 mapOptional(const char* Key, T& Val) argument 568 mapOptional(const char* Key, Optional<T> &Val) argument 574 mapOptional(const char* Key, T& Val) argument 579 mapOptional(const char* Key, T& Val, const T& Default) argument 585 processKeyWithDefault(const char *Key, Optional<T> &Val, const Optional<T> &DefaultValue, bool Required) argument 605 processKeyWithDefault(const char *Key, T &Val, const T& DefaultValue, bool Required) argument 622 processKey(const char *Key, T &Val, bool Required) argument 637 yamlize(IO &io, T &Val, bool) argument 645 yamlize(IO &io, T &Val, bool) argument 657 yamlize(IO &io, T &Val, bool) argument 677 yamlize(IO &YamlIO, T &Val, bool) argument 696 yamlize(IO &io, T &Val, bool) argument 722 yamlize(IO &io, T &Val, bool) argument 736 yamlize(IO &io, T &Val, bool) argument 1279 operator >>(Input &In, T &Val) argument 1343 operator <<(Output &Out, T &Val) argument [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 63 BasicBlock* switchConvert(CaseItr Begin, CaseItr End, Value* Val, 65 BasicBlock* newLeafBlock(CaseRange& Leaf, Value* Val, 131 Value* Val, BasicBlock* OrigBlock, 137 return newLeafBlock(*Begin, Val, OrigBlock, Default); 150 BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val, 152 BasicBlock* RBranch = switchConvert(RHS.begin(), RHS.end(), Val, 158 BasicBlock* NewNode = BasicBlock::Create(Val->getContext(), "NodeBlock"); 163 Val, Pivot.Low, "Pivot"); 175 BasicBlock* LowerSwitch::newLeafBlock(CaseRange& Leaf, Value* Val, argument 180 BasicBlock* NewLeaf = BasicBlock::Create(Val 130 switchConvert(CaseItr Begin, CaseItr End, Value* Val, BasicBlock* OrigBlock, BasicBlock* Default) argument 280 Value *Val = SI->getCondition(); // The value we are switching on... local [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | R600KernelParameters.cpp | 45 Param() : Val(NULL), PtrVal(NULL), OffsetInDW(0), SizeInDW(0), 48 Value* Val; member in struct:__anon14654::R600KernelParameters::Param 73 bool IsIndirect(Value *Val, std::set<Value*> &Visited); 139 bool R600KernelParameters::IsIndirect(Value *Val, std::set<Value*> &Visited) { argument 143 if (isa<LoadInst>(Val)) { 147 if (isa<IntegerType>(Val->getType())) { 152 if (Visited.count(Val)) { 156 Visited.insert(Val); 158 if (isa<getElementPtrInst>(Val)) { 159 getElementPtrInst* GEP = dyn_cast<getElementPtrInst>(Val); [all...] |