Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/tools/clang/include/clang/Analysis/FlowSensitive/
HDDataflowValues.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()
/NextBSD/contrib/llvm/include/llvm/ADT/
HDPointerUnion.h84 PointerUnionUIntTraits<PT1,PT2> > ValTy;
86 ValTy Val;
181 V.Val = ValTy::getFromOpaqueValue(VP);
221 PointerLikeTypeTraits<typename PointerUnion<PT1,PT2>::ValTy>
233 typedef PointerUnion<InnerUnion, PT3> ValTy;
235 ValTy Val;
238 ValTy Val;
239 IsInnerUnion(ValTy val) : Val(val) { }
252 ValTy Val;
253 IsPT3(ValTy val) : Val(val) { }
[all …]
HDScopedHashTable.h153 typedef ScopedHashTableVal<K, V> ValTy; typedef
154 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()
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMipsDSPInstrInfo.td1298 class DSPBinPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1300 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>;
1318 class DSPShiftPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1320 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>;
1336 class DSPSetCCPat<Instruction Cmp, Instruction Pick, ValueType ValTy,
1338 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1339 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1340 (ValTy (COPY_TO_REGCLASS (ADDiu ZERO, -1), DSPR)),
1341 (ValTy ZERO)))>;
1343 class DSPSetCCPatInv<Instruction Cmp, Instruction Pick, ValueType ValTy,
[all …]
HDMips16ISelDAGToDAG.cpp167 EVT ValTy = Addr.getValueType(); in selectAddr16() local
169 Alias = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr16()
173 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr16()
174 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr16()
197 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr16()
203 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr16()
239 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr16()
HDMipsSEISelDAGToDAG.cpp282 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex() local
284 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndex()
285 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectAddrFrameIndex()
298 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset() local
303 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndexOffset()
308 ValTy); in selectAddrFrameIndexOffset()
HDMipsISelLowering.cpp719 EVT ValTy = N->getValueType(0); in performANDCombine() local
720 if (SMPos != 0 || Pos + SMSize > ValTy.getSizeInBits()) in performANDCombine()
724 return DAG.getNode(MipsISD::Ext, DL, ValTy, in performANDCombine()
775 EVT ValTy = N->getValueType(0); in performORCombine() local
776 if ((Shamt != SMPos0) || (SMPos0 + SMSize0 > ValTy.getSizeInBits())) in performORCombine()
780 return DAG.getNode(MipsISD::Ins, DL, ValTy, Shl.getOperand(0), in performORCombine()
805 EVT ValTy = N->getValueType(0); in performADDCombine() local
808 SDValue Add1 = DAG.getNode(ISD::ADD, DL, ValTy, N->getOperand(0), in performADDCombine()
810 return DAG.getNode(ISD::ADD, DL, ValTy, Add1, Lo); in performADDCombine()
2321 EVT ValTy = Op->getValueType(0); in lowerADD() local
[all …]
/NextBSD/contrib/llvm/include/llvm/IR/
HDCallSite.h42 typename ValTy = const Value,
55 explicit CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase()
63 static CallSiteBase get(ValTy *V) { in get()
91 ValTy *getCalledValue() const { in getCalledValue()
119 ValTy *getArgument(unsigned ArgNo) const { in getArgument()
200 ValTy *getArgOperand(unsigned i) const { in getArgOperand()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMTargetTransformInfo.cpp248 unsigned ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
254 ValTy->isVectorTy() && in getVectorInstrCost()
255 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
262 ValTy->getVectorElementType()->isIntegerTy()) in getVectorInstrCost()
265 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
268 unsigned ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
273 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
286 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
295 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
299 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
HDARMTargetTransformInfo.h100 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/NextBSD/contrib/llvm/lib/Analysis/
HDCostModel.cpp387 Type *ValTy = I->getOperand(0)->getType()->getPointerElementType(); in getInstructionCost() local
388 return TTI->getAddressComputationCost(ValTy); in getInstructionCost()
428 Type *ValTy = I->getOperand(0)->getType(); in getInstructionCost() local
429 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy); in getInstructionCost()
433 Type *ValTy = SI->getValueOperand()->getType(); in getInstructionCost() local
434 return TTI->getMemoryOpCost(I->getOpcode(), ValTy, in getInstructionCost()
HDTargetTransformInfo.cpp217 unsigned TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
219 return TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDBasicTTIImpl.h440 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
451 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
453 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost()
461 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
462 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
466 Opcode, ValTy->getScalarType(), CondTy); in getCmpSelInstrCost()
471 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
HDDIE.h330 DIEBlock *, DIELoc *, DIELocList> ValTy; typedef
331 static_assert(sizeof(ValTy) <= sizeof(uint64_t) ||
332 sizeof(ValTy) <= sizeof(void *),
336 ValTy Val;
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64TargetTransformInfo.cpp349 unsigned AArch64TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
354 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
368 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
377 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
HDAArch64TargetTransformInfo.h112 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGAtomic.cpp651 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy, in AddDirectArgument() argument
655 unsigned Align = CGF.getContext().getTypeAlignInChars(ValTy).getQuantity(); in AddDirectArgument()
657 ValTy = in AddDirectArgument()
662 Align, CGF.getContext().getPointerType(ValTy), in AddDirectArgument()
665 Args.add(RValue::get(Val), ValTy); in AddDirectArgument()
1192 auto *ValTy = AsValue in ConvertIntToValueOrAtomic() local
1195 if (ValTy->isIntegerTy()) { in ConvertIntToValueOrAtomic()
1196 assert(IntVal->getType() == ValTy && "Different integer types."); in ConvertIntToValueOrAtomic()
1198 } else if (ValTy->isPointerTy()) in ConvertIntToValueOrAtomic()
1199 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic()
[all …]
HDCGExprConstant.cpp53 const APValue &Value, QualType ValTy);
541 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize() local
542 if (llvm::StructType *ValSTy = dyn_cast<llvm::StructType>(ValTy)) { in Finalize()
580 QualType ValTy) { in BuildStruct() argument
583 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl(); in BuildStruct()
587 return Builder.Finalize(ValTy); in BuildStruct()
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDTargetTransformInfo.h435 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
599 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
765 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
767 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCTargetTransformInfo.cpp271 unsigned PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
273 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
HDPPCTargetTransformInfo.h83 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86TargetTransformInfo.h74 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
HDX86TargetTransformInfo.cpp670 unsigned X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
673 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
737 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
890 unsigned X86TTIImpl::getReductionCost(unsigned Opcode, Type *ValTy, in getReductionCost() argument
893 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getReductionCost()
967 return BaseT::getReductionCost(Opcode, ValTy, IsPairwise); in getReductionCost()
/NextBSD/contrib/llvm/tools/llvm-stress/
HDllvm-stress.cpp315 Type *ValTy = Val->getType(); in Act() local
319 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDScalarReplAggregates.cpp2290 Type *ValTy = EltTy->getScalarType(); in RewriteMemIntrinUserOfAlloca() local
2293 unsigned EltSize = DL.getTypeSizeInBits(ValTy); in RewriteMemIntrinUserOfAlloca()
2304 if (ValTy->isPointerTy()) in RewriteMemIntrinUserOfAlloca()
2305 StoreVal = ConstantExpr::getIntToPtr(StoreVal, ValTy); in RewriteMemIntrinUserOfAlloca()
2306 else if (ValTy->isFloatingPointTy()) in RewriteMemIntrinUserOfAlloca()
2307 StoreVal = ConstantExpr::getBitCast(StoreVal, ValTy); in RewriteMemIntrinUserOfAlloca()
2308 assert(StoreVal->getType() == ValTy && "Type mismatch!"); in RewriteMemIntrinUserOfAlloca()

12