/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTXUtilities.cpp | 55 ConstantInt *Val = dyn_cast<ConstantInt>(md->getOperand(i + 1)); local 56 assert(Val && "Value operand not a constant int"); 60 retval[keyname].push_back(Val->getZExtValue()); 63 tmp.push_back(Val->getZExtValue());
|
/external/llvm/lib/Target/R600/ |
H A D | AMDGPUPromoteAlloca.cpp | 237 static void collectUsesWithPtrTypes(Value *Val, std::vector<Value*> &WorkList) { argument 238 for (User *User : Val->users()) {
|
/external/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 94 unsigned getVectorInstrCost(unsigned Opcode, Type *Val, 739 unsigned X86TTI::getVectorInstrCost(unsigned Opcode, Type *Val, argument 741 assert(Val->isVectorTy() && "This must be a vector type"); 745 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Val); 756 if (Val->getScalarType()->isFloatingPointTy() && Index == 0) 760 return TargetTransformInfo::getVectorInstrCost(Opcode, Val, Index); 920 unsigned X86TTI::getIntImmCost(int64_t Val) const { 921 if (Val == 0) 924 if (isInt<32>(Val)) 957 int64_t Val local [all...] |
/external/llvm/lib/Target/XCore/Disassembler/ |
H A D | XCoreDisassembler.cpp | 99 static DecodeStatus DecodeBitpOperand(MCInst &Inst, unsigned Val, 102 static DecodeStatus DecodeNegImmOperand(MCInst &Inst, unsigned Val, 236 static DecodeStatus DecodeBitpOperand(MCInst &Inst, unsigned Val, argument 238 if (Val > 11) 243 Inst.addOperand(MCOperand::CreateImm(Values[Val])); 247 static DecodeStatus DecodeNegImmOperand(MCInst &Inst, unsigned Val, argument 249 Inst.addOperand(MCOperand::CreateImm(-(int64_t)Val));
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 598 Value *Val = SI.getOperand(0); local 604 getOrEnforceKnownAlignment(Ptr, DL->getPrefTypeAlignment(Val->getType()), 608 DL->getABITypeAlignment(Val->getType()); 664 if (LI == Val && equivalentAddressValues(LI->getOperand(0), Ptr) && 680 if (!isa<UndefValue>(Val)) { 681 SI.setOperand(0, UndefValue::get(Val->getType())); 682 if (Instruction *U = dyn_cast<Instruction>(Val)) 689 if (isa<UndefValue>(Val))
|
/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/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 231 /// a pointer, Val is an i32 value, and Len is an 'intptr_t' value. 232 Value *llvm::EmitMemChr(Value *Ptr, Value *Val, argument 251 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); 561 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), local 563 B.CreateMemSet(CI->getArgOperand(0), Val, CI->getArgOperand(2), 1);
|
H A D | BypassSlowDivision.cpp | 64 static unsigned getHashValue(const DivOpInfo &Val) { argument 65 return (unsigned)(reinterpret_cast<uintptr_t>(Val.Dividend) ^ 66 reinterpret_cast<uintptr_t>(Val.Divisor)) ^ 67 (unsigned)Val.SignedOp;
|
H A D | LowerSwitch.cpp | 70 Value *Val, BasicBlock *OrigBlock, 72 BasicBlock *newLeafBlock(CaseRange &Leaf, Value *Val, BasicBlock *OrigBlock, 136 // LowerBound and UpperBound are used to keep track of the bounds for Val 141 ConstantInt *UpperBound, Value *Val, 154 return newLeafBlock(*Begin, Val, OrigBlock, Default); 204 NewUpperBound, Val, OrigBlock, Default); 206 UpperBound, Val, OrigBlock, Default); 211 BasicBlock* NewNode = BasicBlock::Create(Val->getContext(), "NodeBlock"); 216 Val, Pivot.Low, "Pivot"); 228 BasicBlock* LowerSwitch::newLeafBlock(CaseRange& Leaf, Value* Val, argument 139 switchConvert(CaseItr Begin, CaseItr End, ConstantInt *LowerBound, ConstantInt *UpperBound, Value *Val, BasicBlock *OrigBlock, BasicBlock *Default) argument 334 Value *Val = SI->getCondition(); // The value we are switching on... local [all...] |
/external/llvm/unittests/Support/ |
H A D | Path.cpp | 588 StringRef Val("hello there"); 597 std::copy(Val.begin(), Val.end(), mfr.data()); 599 mfr.data()[Val.size()] = 0; 612 EXPECT_EQ(StringRef(mfr.const_data()), Val); local
|
/external/llvm/utils/TableGen/ |
H A D | DAGISelMatcherEmitter.cpp | 102 static unsigned GetVBRSize(unsigned Val) { argument 103 if (Val <= 127) return 1; 106 while (Val >= 128) { 107 Val >>= 7; 115 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) { argument 116 if (Val <= 127) { 117 OS << Val << ", "; local 121 uint64_t InVal = Val; 123 while (Val >= 128) { 124 OS << (Val 128 OS << Val; local 437 int64_t Val = cast<EmitIntegerMatcher>(N)->getValue(); local 445 const std::string &Val = cast<EmitStringIntegerMatcher>(N)->getValue(); 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:__anon27326::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...] |
/external/clang/include/clang/AST/ |
H A D | CanonicalType.h | 355 static SimpleType getSimplifiedValue(::clang::CanQual<T> Val) { argument 356 return Val.getTypePtr();
|
/external/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 130 void setHasMacroDefinition(bool Val) { argument 131 if (HasMacro == Val) return; 133 HasMacro = Val; 134 if (Val) { 207 void setIsExtensionToken(bool Val) { argument 208 IsExtension = Val; 209 if (Val) 220 void setIsCXX11CompatKeyword(bool Val) { argument 221 IsCXX11CompatKeyword = Val; 222 if (Val) [all...] |
/external/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 202 LiveVariables::LivenessValues &Val, 205 : LV(im), val(Val), observer(Observer), currentBlock(CurrentBlock) {} 201 TransferFunctions(LiveVariablesImpl &im, LiveVariables::LivenessValues &Val, LiveVariables::Observer *Observer, const CFGBlock *CurrentBlock) argument
|
/external/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 907 /// matches Val's input width. If there is an overflow, set Val to the low bits 909 bool NumericLiteralParser::GetIntegerValue(llvm::APInt &Val) { argument 923 // This will truncate the value to Val's input width. Simply check 925 Val = N; 926 return Val.getZExtValue() != N; 929 Val = 0; 932 llvm::APInt RadixVal(Val.getBitWidth(), radix); 933 llvm::APInt CharVal(Val.getBitWidth(), 0); 934 llvm::APInt OldVal = Val; [all...] |
/external/clang/lib/Parse/ |
H A D | RAIIObjectsForParser.h | 290 GreaterThanIsOperatorScope(bool >IO, bool Val) argument 292 GreaterThanIsOperator = Val;
|
/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/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 838 Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)]; local 841 if (!Val.hasValue()) { 842 Val = IDecl->lookupPrivateMethod(Sel); 846 if (!*Val) 849 Val = IDecl->lookupInstanceMethod(Sel); 852 const ObjCMethodDecl *MD = Val.getValue();
|
H A D | SimpleSValBuilder.cpp | 62 SVal SimpleSValBuilder::dispatchCast(SVal Val, QualType CastTy) { argument 63 assert(Val.getAs<Loc>() || Val.getAs<NonLoc>()); 64 return Val.getAs<Loc>() ? evalCastFromLoc(Val.castAs<Loc>(), CastTy) 65 : evalCastFromNonLoc(Val.castAs<NonLoc>(), CastTy);
|
/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/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 100 double Val; member in class:__anon25452::NumberExprAST 102 NumberExprAST(double val) : Val(val) {} 365 return ConstantFP::get(getGlobalContext(), APFloat(Val));
|
/external/llvm/include/llvm/ADT/ |
H A D | StringMap.h | 370 MapEntryTy &GetOrCreateValue(StringRef Key, InitTy Val) { argument 371 return *insert(std::make_pair(Key, std::move(Val))).first;
|
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 177 } Val; member in struct:llvm::MachineOperand::__anon25488::__anon25490 363 void setIsUse(bool Val = true) { setIsDef(!Val); } 365 void setIsDef(bool Val = true); 367 void setImplicit(bool Val = true) { 369 IsImp = Val; 372 void setIsKill(bool Val = true) { 374 assert((!Val || !isDebug()) && "Marking a debug operation as kill"); 375 IsKill = Val; 378 void setIsDead(bool Val [all...] |
/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,
|