HomeSort by: relevance | last modified time | path
    Searched refs:ZExt (Results 1 - 25 of 122) sorted by relevancy

1 2 3 4 5

  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86FixupSetCC.cpp 14 // This means that ISel must select (zext (setcc)) into something like
34 STATISTIC(NumSubstZexts, "Number of setcc + zext pairs substituted");
75 // Find a setcc that is used by a zext.
81 MachineInstr *ZExt = nullptr;
84 ZExt = &Use;
86 if (!ZExt)
104 if (!MRI->constrainRegClass(ZExt->getOperand(0).getReg(), RC)) {
120 BuildMI(*ZExt->getParent(), ZExt, ZExt->getDebugLoc()
    [all...]
X86PartialReduction.cpp 86 // used twice. Only check this when SSE4.1 is enabled and we have zext/sext
106 Cast->getOpcode() == Instruction::ZExt) &&
197 if (auto *ZExt = dyn_cast<ZExtInst>(Op))
198 if (cast<VectorType>(ZExt->getOperand(0)->getType())
201 return ZExt->getOperand(0);
X86CallingConv.cpp 338 LocInfo = CCValAssign::ZExt;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
TypePromotion.cpp 87 // %0 = zext i8 %c to i32
224 /// a narrow 'TypeSize' value. These values will be zext to start the promotion
226 /// of the register. ZExt on the loads will be free, and the same for call
234 // TODO Allow zext to be sources.
242 return Call->hasRetAttr(Attribute::AttrKind::ZExt);
260 // - zext are included to ease the transformation and are generally removed
266 if (auto *ZExt = dyn_cast<ZExtInst>(V))
267 return GreaterThanTypeSize(ZExt);
368 ICmpConst->getValue().zext(32) : ICmpConst->getValue();
371 OverflowConst->getValue().abs().zext(32) : OverflowConst->getValue().abs()
    [all...]
Analysis.cpp 571 if (CallerAttrs.contains(Attribute::ZExt)) {
572 if (!CalleeAttrs.contains(Attribute::ZExt))
576 CallerAttrs.removeAttribute(Attribute::ZExt);
577 CalleeAttrs.removeAttribute(Attribute::ZExt);
587 // Drop sext and zext return attributes if the result is not used.
599 CalleeAttrs.removeAttribute(Attribute::ZExt);
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ReplaceConstant.cpp 52 case Instruction::ZExt:
Instructions.cpp 653 false /*ZExt*/);
2652 case Instruction::ZExt:
2695 case Instruction::ZExt:
2743 // ZEXT < Integral Unsigned Integer Any
2757 // For example, we could merge "fptoui double to i32" + "zext i32 to i64",
2772 { 8, 1, 9,99,99, 2,17,99,99,99, 2, 3, 0}, // ZExt |
2871 // zext, sext -> zext, because sext can't sign extend after zext
2872 return Instruction::ZExt;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonBitTracker.h 62 enum { SExt, ZExt };
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LowerExpectIntrinsic.cpp 139 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) {
140 V = ZExt->getOperand(0);
141 Operations.push_back(ZExt);
171 case Instruction::ZExt:
172 Result = Result.zext(Op->getType()->getIntegerBitWidth());
NaryReassociate.cpp 361 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) {
362 // zext can be treated as sext if the source is non-negative.
363 if (isKnownNonNegative(ZExt->getOperand(0), *DL, 0, AC, GEP, DT))
364 IndexToSplit = ZExt->getOperand(0);
405 // zext if the source operand is proved non-negative. We should do that
SCCP.cpp 176 auto *ZExt = new ZExtInst(ExtOp, Inst.getType(), "", &Inst);
177 InsertedValues.insert(ZExt);
178 Inst.replaceAllUsesWith(ZExt);
SpeculativeExecution.cpp 227 case Instruction::ZExt:
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
TruncInstCombine.cpp 17 // The only exception is for {ZExt, SExt}Inst with operand type equal to
53 case Instruction::ZExt:
117 case Instruction::ZExt:
323 case Instruction::ZExt:
335 // This also handles the case of zext(trunc(x)) -> zext(x).
398 // it, because {SExt, ZExt}Inst Instruction might have other users that was
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
DataFlowSanitizer.cpp 1307 Attribute::ZExt);
1308 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt);
1309 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt);
1320 Attribute::ZExt);
1321 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt);
1322 AL = AL.addParamAttribute(M.getContext(), 1, Attribute::ZExt);
1333 Attribute::ZExt);
1344 Attribute::ZExt);
1355 Attribute::ZExt);
1363 AL = AL.addParamAttribute(M.getContext(), 0, Attribute::ZExt);
    [all...]
SanitizerCoverage.cpp 429 SanCovTraceCmpZeroExtAL.addParamAttribute(*C, 0, Attribute::ZExt);
431 SanCovTraceCmpZeroExtAL.addParamAttribute(*C, 1, Attribute::ZExt);
456 AL = AL.addParamAttribute(*C, 0, Attribute::ZExt);
809 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetLibraryInfo.h 373 return Signed ? Attribute::SExt : Attribute::ZExt;
384 return Signed ? Attribute::SExt : Attribute::ZExt;
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZTargetTransformInfo.cpp 170 case Instruction::ZExt:
676 // cost for a Select / ZExt or SExt instruction.
714 if (Opcode == Instruction::ZExt || Opcode == Instruction::UIToFP)
744 if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) &&
754 if (Opcode == Instruction::ZExt)
781 if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) {
783 // ZExt/SExt will be handled with one unpack per doubling of width.
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
CallingConvLower.h 38 ZExt, // The value is zero extended in the location.
157 return (HTP == AExt || HTP == SExt || HTP == ZExt);
FastISel.h 114 RetZExt = Call.hasRetAttr(Attribute::ZExt);
138 RetZExt = Call.hasRetAttr(Attribute::ZExt);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
BypassSlowDivision.cpp 303 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType());
305 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType());
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64CallingConvention.cpp 178 Info = UseHigh ? CCValAssign::AExtUpper : CCValAssign::ZExt;
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFAdjustOpt.cpp 284 // ZEXT/SEXT which is used for GEP.
285 if (Inst->getOpcode() == Instruction::ZExt ||
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsCallLowering.cpp 157 case CCValAssign::LocInfo::ZExt:
194 VA.getLocInfo() == CCValAssign::ZExt ||
298 case CCValAssign::ZExt: {
356 return CCValAssign::LocInfo::ZExt;
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyFastISel.cpp 843 else if (Attrs.hasParamAttribute(I, Attribute::ZExt))
991 const auto *ZExt = cast<ZExtInst>(I);
993 const Value *Op = ZExt->getOperand(0);
995 MVT::SimpleValueType To = getLegalType(getSimpleType(ZExt->getType()));
1003 updateValueMap(ZExt, Reg);
1372 else if (FuncInfo.Fn->getAttributes().hasAttribute(0, Attribute::ZExt))
1402 case Instruction::ZExt:
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
MVELaneInterleavingPass.cpp 9 // This pass interleaves around sext/zext/trunc instructions. MVE does not have
10 // a single sext/zext or trunc instruction that takes the bottom half of a
16 // instruction, we often have to turn sext/zext/trunc into a series of lane
20 // blobs of operations that end with sext/zext (or constants/splats) of the
187 case Instruction::ZExt:

Completed in 89 milliseconds

1 2 3 4 5