Searched defs:ValTy (Results 1 - 25 of 26) sorted by relevance

12

/external/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowValues.h48 typedef typename ValueTypes::ValTy ValTy; typedef in class:clang::DataflowValues
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) {
93 const ValTy& getEdgeData(const BlockEdge &E) const {
101 ValTy& getBlockData(const CFGBlock *B) {
107 const ValTy& getBlockData(const CFGBlock *B) const {
117 ValTy
[all...]
/external/llvm/include/llvm/ADT/
H A DPointerUnion.h84 PointerUnionUIntTraits<PT1,PT2> > ValTy;
86 ValTy Val;
181 V.Val = ValTy::getFromOpaqueValue(VP);
215 PointerLikeTypeTraits<typename PointerUnion<PT1,PT2>::ValTy>
227 typedef PointerUnion<InnerUnion, PT3> ValTy; typedef in class:llvm::PointerUnion3
229 ValTy Val;
232 ValTy Val;
233 IsInnerUnion(ValTy val) : Val(val) { }
246 ValTy Val;
247 IsPT3(ValTy va
366 typedef PointerUnion<InnerUnion1, InnerUnion2> ValTy; typedef in class:llvm::PointerUnion4
[all...]
H A DScopedHashTable.h153 typedef ScopedHashTableVal<K, V> ValTy; typedef in class:llvm::ScopedHashTable
154 DenseMap<K, ValTy*, KInfo> TopLevelMap;
180 typename DenseMap<K, ValTy*, KInfo>::iterator I = TopLevelMap.find(Key);
196 typename DenseMap<K, ValTy*, KInfo>::iterator I =
212 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val,
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp122 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) const
441 unsigned AArch64TTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
446 if (ValTy->isVectorTy() && ISD == ISD::SELECT) {
460 EVT SelValTy = TLI->getValueType(ValTy);
469 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy);
H A DAArch64ISelLowering.cpp7934 Type *ValTy = cast<PointerType>(Addr->getType())->getElementType(); local
7941 if (ValTy->getPrimitiveSizeInBits() == 128) {
7951 Lo = Builder.CreateZExt(Lo, ValTy, "lo64");
7952 Hi = Builder.CreateZExt(Hi, ValTy, "hi64");
7954 Lo, Builder.CreateShl(Hi, ConstantInt::get(ValTy, 64)), "val64");
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp120 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
382 unsigned ARMTTI::getVectorInstrCost(unsigned Opcode, Type *ValTy, argument
388 ValTy->isVectorTy() &&
389 ValTy->getScalarSizeInBits() <= 32)
392 return TargetTransformInfo::getVectorInstrCost(Opcode, ValTy, Index);
395 unsigned ARMTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
400 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) {
413 EVT SelValTy = TLI->getValueType(ValTy);
422 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy);
426 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondT
[all...]
/external/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp164 EVT ValTy = Addr.getValueType(); local
166 Alias = CurDAG->getTargetConstant(0, ValTy);
170 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
171 Offset = CurDAG->getTargetConstant(0, ValTy);
194 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
200 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy);
236 Offset = CurDAG->getTargetConstant(0, ValTy);
H A DMipsSEISelDAGToDAG.cpp256 EVT ValTy = Addr.getValueType(); local
258 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
259 Offset = CurDAG->getTargetConstant(0, ValTy);
272 EVT ValTy = Addr.getValueType(); local
277 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
281 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy);
H A DMipsISelLowering.cpp648 EVT ValTy = N->getValueType(0);
649 if (SMPos != 0 || Pos + SMSize > ValTy.getSizeInBits())
652 return DAG.getNode(MipsISD::Ext, SDLoc(N), ValTy,
702 EVT ValTy = N->getValueType(0); local
703 if ((Shamt != SMPos0) || (SMPos0 + SMSize0 > ValTy.getSizeInBits()))
706 return DAG.getNode(MipsISD::Ins, SDLoc(N), ValTy, Shl.getOperand(0),
730 EVT ValTy = N->getValueType(0);
733 SDValue Add1 = DAG.getNode(ISD::ADD, DL, ValTy, N->getOperand(0),
735 return DAG.getNode(ISD::ADD, DL, ValTy, Add1, Lo);
2176 EVT ValTy local
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp102 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
342 unsigned PPCTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
344 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy);
/external/llvm/lib/Analysis/
H A DCostModel.cpp386 Type *ValTy = I->getOperand(0)->getType()->getPointerElementType(); local
387 return TTI->getAddressComputationCost(ValTy);
427 Type *ValTy = I->getOperand(0)->getType(); local
428 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy);
432 Type *ValTy = SI->getValueOperand()->getType(); local
433 return TTI->getMemoryOpCost(I->getOpcode(), ValTy,
H A DTargetTransformInfo.cpp195 unsigned TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
197 return PrevTTI->getCmpSelInstrCost(Opcode, ValTy, CondTy);
584 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
/external/llvm/lib/CodeGen/
H A DBasicTargetTransformInfo.cpp111 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
453 unsigned BasicTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
466 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy);
475 if (ValTy->isVectorTy()) {
476 unsigned Num = ValTy->getVectorNumElements();
479 unsigned Cost = TopTTI->getCmpSelInstrCost(Opcode, ValTy->getScalarType(),
484 return getScalarizationOverhead(ValTy, true, false) + Num * Cost;
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp92 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
682 unsigned X86TTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, argument
685 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy);
736 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy);
837 unsigned X86TTI::getReductionCost(unsigned Opcode, Type *ValTy, argument
840 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy);
914 return TargetTransformInfo::getReductionCost(Opcode, ValTy, IsPairwise);
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp307 Type *ValTy = Val->getType(); variable
311 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1)
/external/clang/lib/CodeGen/
H A DCGAtomic.cpp463 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy,
467 unsigned Align = CGF.getContext().getTypeAlignInChars(ValTy).getQuantity();
468 Val = CGF.EmitLoadOfScalar(Val, false, Align, ValTy, Loc);
469 Args.add(RValue::get(Val), ValTy); local
462 AddDirectArgument(CodeGenFunction &CGF, CallArgList &Args, bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy, SourceLocation Loc) argument
H A DCGExprConstant.cpp48 const APValue &Value, QualType ValTy);
513 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); local
514 if (llvm::StructType *ValSTy = dyn_cast<llvm::StructType>(ValTy)) {
541 QualType ValTy) {
544 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl();
548 return Builder.Finalize(ValTy);
538 BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF, const APValue &Val, QualType ValTy) argument
H A DCGBuiltin.cpp145 /// EmitFAbs - Emit a call to fabs/fabsf/fabsl, depending on the type of ValTy,
147 static Value *EmitFAbs(CodeGenFunction &CGF, Value *V, QualType ValTy) { argument
148 const BuiltinType *ValTyP = ValTy->getAs<BuiltinType>();
H A DCGExprScalar.cpp2167 llvm::Type *ValTy = Val->getType(); local
2168 if (ValTy->isFloatTy() ||
2169 (isa<llvm::VectorType>(ValTy) &&
2170 cast<llvm::VectorType>(ValTy)->getElementType()->isFloatTy()))
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp1751 Type *ValTy; local
1761 ValTy = LI->getType();
1767 ValTy = SI->getValueOperand()->getType();
1778 Alignment = DL.getABITypeAlignment(ValTy);
1780 unsigned Size = TM.getDataLayout()->getTypeStoreSize(ValTy);
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp952 EVT ValTy = Op.getValueType(); local
957 Res = DAG.getTargetConstantPool(CP->getMachineCPVal(), ValTy,
960 Res = DAG.getTargetConstantPool(CP->getConstVal(), ValTy,
962 return DAG.getNode(HexagonISD::CONST32, dl, ValTy, Res);
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp2267 Type *ValTy = EltTy->getScalarType(); local
2270 unsigned EltSize = DL->getTypeSizeInBits(ValTy);
2281 if (ValTy->isPointerTy())
2282 StoreVal = ConstantExpr::getIntToPtr(StoreVal, ValTy);
2283 else if (ValTy->isFloatingPointTy())
2284 StoreVal = ConstantExpr::getBitCast(StoreVal, ValTy);
2285 assert(StoreVal->getType() == ValTy && "Type mismatch!");
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2102 QualType ValTy = TR->getValueType(); local
2103 if (const ReferenceType *RT = ValTy->getAs<ReferenceType>()) {
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1010 MVT ValTy = VA.getLocVT(); local
1013 if (!VA.isRegLoc() || (ValTy != MVT::f64 && ValTy != MVT::f128))
1023 unsigned firstReg = (ValTy == MVT::f64) ? SP::D0 : SP::Q0;
1024 unsigned argSize = (ValTy == MVT::f64) ? 8 : 16;
1031 if (ValTy == MVT::f64)
1036 assert(ValTy == MVT::f128 && "Unexpected type!");
/external/clang/include/clang/AST/
H A DType.h4598 AtomicType(QualType ValTy, QualType Canonical) argument
4599 : Type(Atomic, Canonical, ValTy->isDependentType(),
4600 ValTy->isInstantiationDependentType(),
4601 ValTy->isVariablyModifiedType(),
4602 ValTy->containsUnexpandedParameterPack()),
4603 ValueType(ValTy) {}

Completed in 6363 milliseconds

12