Home
last modified time | relevance | path

Searched refs:CondTy (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp112 Type *CondTy) const override;
454 Type *CondTy) const { in getCmpSelInstrCost()
461 assert(CondTy && "CondTy must exist"); in getCmpSelInstrCost()
462 if (CondTy->isVectorTy()) in getCmpSelInstrCost()
477 if (CondTy) in getCmpSelInstrCost()
478 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost()
480 CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp103 Type *CondTy) const override;
343 Type *CondTy) const { in getCmpSelInstrCost()
344 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp122 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) const
442 Type *CondTy) const { in getCmpSelInstrCost()
459 EVT SelCondTy = TLI->getValueType(CondTy); in getCmpSelInstrCost()
469 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp196 Type *CondTy) const { in getCmpSelInstrCost()
197 return PrevTTI->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
585 Type *CondTy = nullptr) const override { in getCmpSelInstrCost()
DCostModel.cpp422 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local
423 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp121 Type *CondTy) const override;
396 Type *CondTy) const { in getCmpSelInstrCost()
412 EVT SelCondTy = TLI->getValueType(CondTy); in getCmpSelInstrCost()
426 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp569 Type *CondTy = Type::getInt1Ty(Context); in Act() local
575 CondTy = VectorType::get(CondTy, NumElem); in Act()
578 Value *Cond = getRandomValue(CondTy); in Act()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h373 Type *CondTy = nullptr) const;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp159 Type *CondTy = SI.getCondition()->getType(); in FoldSelectOpOp() local
160 if (CondTy->isVectorTy() && (!FIOpndTy->isVectorTy() || in FoldSelectOpOp()
161 CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements())) in FoldSelectOpOp()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp93 Type *CondTy) const override;
683 Type *CondTy) const { in getCmpSelInstrCost()
736 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DX86FastISel.cpp2376 Type *CondTy = Ty->getTypeAtIndex(1); in X86VisitIntrinsicCall() local
2466 unsigned ResultReg2 = FuncInfo.CreateRegs(CondTy); in X86VisitIntrinsicCall()
/external/clang/lib/Sema/
DSemaExpr.cpp5432 QualType CondTy = Cond->getType(); in checkCondition() local
5435 if (CondTy->isScalarType()) return false; in checkCondition()
5438 if (S.getLangOpts().OpenCL && CondTy->isVectorType()) in checkCondition()
5445 << CondTy; in checkCondition()
5453 QualType CondTy) { in checkConditionalConvertScalarsToVectors() argument
5457 << CondTy; in checkConditionalConvertScalarsToVectors()
5462 << CondTy; in checkConditionalConvertScalarsToVectors()
5467 LHS = S.ImpCastExprToType(LHS.get(), CondTy, CK_IntegralCast); in checkConditionalConvertScalarsToVectors()
5468 RHS = S.ImpCastExprToType(RHS.get(), CondTy, CK_IntegralCast); in checkConditionalConvertScalarsToVectors()
5727 QualType CondTy = Cond.get()->getType(); in CheckConditionalOperands() local
[all …]
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp5724 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local
5726 CondTy = VectorType::get(CondTy, VF); in getInstructionCost()
5728 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy); in getInstructionCost()