Home
last modified time | relevance | path

Searched refs:ValTy (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/include/clang/Analysis/Support/
DBlkExprDeclBitVector.h86 class ValTy {
104 bool operator==(const ValTy& RHS) const {
109 void copyValues(const ValTy& RHS) { DeclBV = RHS.DeclBV; } in copyValues()
133 ValTy& operator|=(const ValTy& RHS) {
139 ValTy& operator&=(const ValTy& RHS) {
145 ValTy& OrDeclBits(const ValTy& RHS) { in OrDeclBits()
149 ValTy& AndDeclBits(const ValTy& RHS) { in AndDeclBits()
153 bool sizesEqual(const ValTy& RHS) const { in sizesEqual()
162 struct Union { void operator()(ValTy& Dst, ValTy& Src) { Dst |= Src; } }; in operator()
163 struct Intersect { void operator()(ValTy& Dst, ValTy& Src) { Dst &= Src; } }; in operator()
[all …]
/external/clang/include/clang/Analysis/FlowSensitive/
DDataflowValues.h48 typedef typename ValueTypes::ValTy ValTy; typedef
51 typedef llvm::DenseMap<ProgramPoint, ValTy> EdgeDataMapTy;
52 typedef llvm::DenseMap<const CFGBlock*, ValTy> BlockDataMapTy;
53 typedef llvm::DenseMap<const Stmt*, ValTy> StmtDataMapTy;
87 ValTy& getEdgeData(const BlockEdge &E) { in getEdgeData()
93 const ValTy& getEdgeData(const BlockEdge &E) const { in getEdgeData()
101 ValTy& getBlockData(const CFGBlock *B) { in getBlockData()
107 const ValTy& getBlockData(const CFGBlock *B) const { in getBlockData()
117 ValTy& getStmtData(const Stmt *S) { in getStmtData()
124 const ValTy& getStmtData(const Stmt *S) const { in getStmtData()
DDataflowSolver.h121 typename _Equal = std::equal_to<typename _DFValuesTy::ValTy> >
134 typedef typename _DFValuesTy::ValTy ValTy;
226 ValTy& V = TF.getVal();
260 BI = D.getBlockDataMap().insert( std::make_pair(B,ValTy()) ).first;
315 void UpdateEdges(CFG& cfg, const CFGBlock *B, ValTy& V) {
322 void UpdateEdgeValue(BlockEdge E, ValTy& V, const CFGBlock *TargetBlock) {
/external/llvm/include/llvm/ADT/
DPointerUnion.h82 PointerUnionUIntTraits<PT1,PT2> > ValTy;
84 ValTy Val;
173 V.Val = ValTy::getFromOpaqueValue(VP);
195 PointerLikeTypeTraits<typename PointerUnion<PT1,PT2>::ValTy>
207 typedef PointerUnion<InnerUnion, PT3> ValTy;
209 ValTy Val;
212 ValTy Val;
213 IsInnerUnion(ValTy val) : Val(val) { }
226 ValTy Val;
227 IsPT3(ValTy val) : Val(val) { }
[all …]
DScopedHashTable.h152 typedef ScopedHashTableVal<K, V> ValTy; typedef
153 DenseMap<K, ValTy*, KInfo> TopLevelMap;
180 typename DenseMap<K, ValTy*, KInfo>::iterator I = TopLevelMap.find(Key); in lookup()
196 typename DenseMap<K, ValTy*, KInfo>::iterator I = in begin()
212 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val, in insertIntoScope()
/external/llvm/lib/Analysis/
DCostModel.cpp97 Type *ValTy = I->getOperand(0)->getType()->getPointerElementType(); in getInstructionCost() local
98 return TTI->getAddressComputationCost(ValTy); in getInstructionCost()
133 Type *ValTy = I->getOperand(0)->getType(); in getInstructionCost() local
134 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy); in getInstructionCost()
138 Type *ValTy = SI->getValueOperand()->getType(); in getInstructionCost() local
139 return TTI->getMemoryOpCost(I->getOpcode(), ValTy, in getInstructionCost()
DTargetTransformInfo.cpp171 unsigned TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
173 return PrevTTI->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
516 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost()
/external/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp155 EVT ValTy = Addr.getValueType(); in selectAddr16() local
157 Alias = CurDAG->getTargetConstant(0, ValTy); in selectAddr16()
161 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr16()
162 Offset = CurDAG->getTargetConstant(0, ValTy); in selectAddr16()
185 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr16()
191 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy); in selectAddr16()
225 Offset = CurDAG->getTargetConstant(0, ValTy); in selectAddr16()
DMipsSEISelDAGToDAG.cpp225 EVT ValTy = Addr.getValueType(); in selectAddrRegImm() local
229 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrRegImm()
230 Offset = CurDAG->getTargetConstant(0, ValTy); in selectAddrRegImm()
255 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrRegImm()
259 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy); in selectAddrRegImm()
DMipsISelLowering.cpp756 EVT ValTy = N->getValueType(0); in performANDCombine() local
757 if (SMPos != 0 || Pos + SMSize > ValTy.getSizeInBits()) in performANDCombine()
760 return DAG.getNode(MipsISD::Ext, N->getDebugLoc(), ValTy, in performANDCombine()
810 EVT ValTy = N->getValueType(0); in performORCombine() local
811 if ((Shamt != SMPos0) || (SMPos0 + SMSize0 > ValTy.getSizeInBits())) in performORCombine()
814 return DAG.getNode(MipsISD::Ins, N->getDebugLoc(), ValTy, Shl.getOperand(0), in performORCombine()
838 EVT ValTy = N->getValueType(0); in performADDCombine() local
841 SDValue Add1 = DAG.getNode(ISD::ADD, DL, ValTy, N->getOperand(0), in performADDCombine()
843 return DAG.getNode(ISD::ADD, DL, ValTy, Add1, Lo); in performADDCombine()
2395 EVT ValTy = Op->getValueType(0); in lowerADD() local
[all …]
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp123 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) const;
371 unsigned ARMTTI::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
377 ValTy->isVectorTy() && in getVectorInstrCost()
378 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
381 return TargetTransformInfo::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
384 unsigned ARMTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
389 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
401 EVT SelValTy = TLI->getValueType(ValTy); in getCmpSelInstrCost()
409 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
413 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/include/llvm/Support/
DCallSite.h41 typename ValTy = const Value,
54 CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase()
61 static CallSiteBase get(ValTy *V) { in get()
86 ValTy *getCalledValue() const { in getCalledValue()
112 ValTy *getArgument(unsigned ArgNo) const { in getArgument()
/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp94 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
330 unsigned BasicTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
342 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
351 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
352 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
355 unsigned Cost = TopTTI->getCmpSelInstrCost(Opcode, ValTy->getScalarType(), in getCmpSelInstrCost()
360 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp94 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
188 unsigned PPCTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
190 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp94 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
276 unsigned X86TTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
279 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
330 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h298 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
/external/clang/lib/CodeGen/
DCGExprConstant.cpp48 const APValue &Value, QualType ValTy);
563 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize() local
564 if (llvm::StructType *ValSTy = dyn_cast<llvm::StructType>(ValTy)) { in Finalize()
591 QualType ValTy) { in BuildStruct() argument
594 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl(); in BuildStruct()
602 return Builder.Finalize(ValTy); in BuildStruct()
DCGExprScalar.cpp2068 llvm::Type *ValTy = Val->getType(); in EmitDiv() local
2069 if (ValTy->isFloatTy() || in EmitDiv()
2070 (isa<llvm::VectorType>(ValTy) && in EmitDiv()
2071 cast<llvm::VectorType>(ValTy)->getElementType()->isFloatTy())) in EmitDiv()
DCGBuiltin.cpp146 static Value *EmitFAbs(CodeGenFunction &CGF, Value *V, QualType ValTy) { in EmitFAbs() argument
147 const BuiltinType *ValTyP = ValTy->getAs<BuiltinType>(); in EmitFAbs()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp305 Type *ValTy = Val->getType(); in Act() local
309 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2278 Type *ValTy = EltTy->getScalarType(); in RewriteMemIntrinUserOfAlloca() local
2281 unsigned EltSize = TD->getTypeSizeInBits(ValTy); in RewriteMemIntrinUserOfAlloca()
2292 if (ValTy->isPointerTy()) in RewriteMemIntrinUserOfAlloca()
2293 StoreVal = ConstantExpr::getIntToPtr(StoreVal, ValTy); in RewriteMemIntrinUserOfAlloca()
2294 else if (ValTy->isFloatingPointTy()) in RewriteMemIntrinUserOfAlloca()
2295 StoreVal = ConstantExpr::getBitCast(StoreVal, ValTy); in RewriteMemIntrinUserOfAlloca()
2296 assert(StoreVal->getType() == ValTy && "Type mismatch!"); in RewriteMemIntrinUserOfAlloca()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3348 Type *ValTy = I->getOperand(0)->getType(); in getInstructionCost() local
3349 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
3356 Type *ValTy = (SI ? SI->getValueOperand()->getType() : in getInstructionCost() local
3358 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
3390 Cost += VF * TTI.getAddressComputationCost(ValTy->getScalarType()); in getInstructionCost()
3391 Cost += VF * TTI.getMemoryOpCost(I->getOpcode(), ValTy->getScalarType(), in getInstructionCost()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp950 EVT ValTy = Op.getValueType(); in LowerConstantPool() local
956 Res = DAG.getTargetConstantPool(CP->getMachineCPVal(), ValTy, in LowerConstantPool()
959 Res = DAG.getTargetConstantPool(CP->getConstVal(), ValTy, in LowerConstantPool()
961 return DAG.getNode(HexagonISD::CONST32, dl, ValTy, Res); in LowerConstantPool()
/external/clang/include/clang/AST/
DType.h4483 AtomicType(QualType ValTy, QualType Canonical)
4484 : Type(Atomic, Canonical, ValTy->isDependentType(),
4485 ValTy->isInstantiationDependentType(),
4486 ValTy->isVariablyModifiedType(),
4487 ValTy->containsUnexpandedParameterPack()),
4488 ValueType(ValTy) {}
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1871 QualType ValTy = TR->getValueType(); in evalLoad() local
1872 if (const ReferenceType *RT = ValTy->getAs<ReferenceType>()) { in evalLoad()

12