/openbsd/gnu/llvm/llvm/utils/ |
H A D | llvm.grm | 249 | select "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")" 250 | ArithmeticOps "(" ^ ConstVal ^ "," ConstVal ^ ")" 251 | LogicalOps "(" ^ ConstVal ^ "," ConstVal ^ ")" 252 | icmp IPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")" 253 | fcmp FPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")" 254 | extractelement "(" ^ ConstVal ^ "," ConstVal ^ ")" 255 | insertelement "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")" 256 | shufflevector "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")" 258 | insertvalue "(" ^ ConstVal ^ "," ConstVal ^ ConstantIndexList ^ ")" ; 260 ConstVector ::= ConstVector ^ "," ConstVal | ConstVal ; [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | ValueLattice.h | 89 Constant *ConstVal; member 162 ConstVal = Other.ConstVal; in ValueLatticeElement() 181 ConstVal = Other.ConstVal; in ValueLatticeElement() 260 return ConstVal; in getConstant() 265 return ConstVal; in getNotConstant() 320 ConstVal = V; 340 ConstVal = V; in markNotConstant()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/ |
H A D | FunctionSpecialization.cpp | 139 if (auto *ConstVal = dyn_cast<ConstantInt>(Val)) in getConstantStackValue() local 140 return ConstVal; in getConstantStackValue() 194 auto *ConstVal = getConstantStackValue(Call, ArgOp); in promoteConstantStackValues() local 195 if (!ConstVal) in promoteConstantStackValues() 198 Value *GV = new GlobalVariable(M, ConstVal->getType(), true, in promoteConstantStackValues() 199 GlobalValue::InternalLinkage, ConstVal, in promoteConstantStackValues() 201 if (ArgOpType != ConstVal->getType()) in promoteConstantStackValues()
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | MachineConstantPool.h | 71 const Constant *ConstVal; member 82 Val.ConstVal = V; in MachineConstantPoolEntry()
|
H A D | SelectionDAGNodes.h | 1891 const Constant *ConstVal; 1904 Val.ConstVal = c; 1924 return Val.ConstVal;
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | CallSiteSplitting.cpp | 170 Constant *ConstVal = cast<Constant>(Cond.first->getOperand(1)); in addConditions() local 172 setConstantInArgument(CB, Arg, ConstVal); in addConditions() 173 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | MachineSSAUpdater.cpp | 209 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock() local 211 return ConstVal; in GetValueInMiddleOfBlock()
|
H A D | MachineFunction.cpp | 1355 return DL.getTypeAllocSize(Val.ConstVal->getType()); in getSizeInBytes() 1361 return Val.ConstVal->needsDynamicRelocation(); in needsRelocation() 1451 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, DL)) { in getConstantPoolIndex() 1487 Constants[i].Val.ConstVal->printAsOperand(OS, /*PrintType=*/false); in print()
|
H A D | MIRPrinter.cpp | 565 Constant.Val.ConstVal->printAsOperand(StrOS); in convert()
|
/openbsd/gnu/llvm/llvm/lib/Target/CSKY/ |
H A D | CSKYAsmPrinter.cpp | 118 emitGlobalConstant(MF->getDataLayout(), MCPE.Val.ConstVal); in emitCustomConstantPool()
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | Utils.h | 486 std::function<bool(const Constant *ConstVal)> Match,
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 1163 auto *ConstVal = ConstantArray::get(ArrTy, Args); in setCoroInfo() local 1164 auto *GV = new GlobalVariable(*M, ConstVal->getType(), /*isConstant=*/true, in setCoroInfo() 1165 GlobalVariable::PrivateLinkage, ConstVal, in setCoroInfo()
|
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/ |
H A D | SPIRVInstructionSelector.cpp | 1486 const Constant *ConstVal = GV; in selectGlobalValue() local 1488 Register NewReg = GR.find(ConstVal, GR.CurMF); in selectGlobalValue() 1493 GR.add(ConstVal, GR.CurMF, NewReg); in selectGlobalValue()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstructionSelector.cpp | 147 std::optional<ValueAndVReg> ConstVal = in selectCOPY() local 149 if (ConstVal) { in selectCOPY() 153 .addImm(ConstVal->Value.getBoolValue() ? -1 : 0); in selectCOPY() 987 std::optional<ValueAndVReg> ConstVal = in selectWritelane() local 992 if (ConstVal && AMDGPU::isInlinableLiteral32(ConstVal->Value.getSExtValue(), in selectWritelane() 994 MIB.addImm(ConstVal->Value.getSExtValue()); in selectWritelane()
|
H A D | AMDGPULegalizerInfo.cpp | 3201 auto ConstVal = getIConstantVRegSExtVal(MI.getOperand(2).getReg(), MRI); in isNot() local 3202 return ConstVal && *ConstVal == -1; in isNot()
|
H A D | AMDGPURegisterBankInfo.cpp | 2145 uint64_t ConstVal = MI.getOperand(1).getCImm()->getZExtValue(); in applyMappingImpl() local 2147 ConstantInt::get(IntegerType::getInt32Ty(Ctx), ConstVal)); in applyMappingImpl()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 5725 Constant *ConstVal = in getCaseResults() local 5727 if (!ConstVal) in getCaseResults() 5731 if (!ValidLookupTableConstant(ConstVal, TTI)) in getCaseResults() 5734 Res.push_back(std::make_pair(&PHI, ConstVal)); in getCaseResults() 6071 ConstantInt *ConstVal = dyn_cast<ConstantInt>(TableContents[I]); in SwitchLookupTable() local 6072 if (!ConstVal) { in SwitchLookupTable() 6078 const APInt &Val = ConstVal->getValue(); in SwitchLookupTable()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaType.cpp | 2554 llvm::APSInt ConstVal(Context.getTypeSize(Context.getSizeType())); in BuildArrayType() local 2569 checkArraySize(*this, ArraySize, ConstVal, VLADiag, VLAIsError); in BuildArrayType() 2591 if (ConstVal.isSigned() && ConstVal.isNegative()) { in BuildArrayType() 2602 if (ConstVal == 0) { in BuildArrayType() 2615 ? ConstantArrayType::getNumAddressingBits(Context, T, ConstVal) in BuildArrayType() 2616 : ConstVal.getActiveBits(); in BuildArrayType() 2619 << toString(ConstVal, 10) << ArraySize->getSourceRange(); in BuildArrayType() 2623 T = Context.getConstantArrayType(T, ConstVal, ArraySize, ASM, Quals); in BuildArrayType()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMAsmPrinter.cpp | 1309 Offset = cast<ConstantInt>(CPE.Val.ConstVal)->getSExtValue(); in EmitUnwindingInstruction() 1726 emitGlobalConstant(DL, MCPE.Val.ConstVal); in emitInstruction()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 2417 C = CPE.Val.ConstVal; in emitConstantPool() 2471 emitGlobalConstant(getDataLayout(), CPE.Val.ConstVal); in emitConstantPool() 3583 const Constant *C = CPE.Val.ConstVal; in GetCPISymbol()
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/ |
H A D | MipsAsmPrinter.cpp | 230 emitGlobalConstant(MF->getDataLayout(), MCPE.Val.ConstVal); in emitInstruction()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 1259 std::function<bool(const Constant *ConstVal)> Match, bool AllowUndefs) { in matchUnaryPredicate()
|
H A D | CombinerHelper.cpp | 3145 auto ConstVal = getIConstantVRegVal(PtrAdd.getBaseReg(), MRI); in matchPtrAddZero() local 3146 return ConstVal && *ConstVal == 0; in matchPtrAddZero()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86MCInstLower.cpp | 1894 return ConstantEntry.Val.ConstVal; in getConstantFromPool()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 3748 llvm::APInt ConstVal(32, 1); in collectVarDeclProps() local 3751 T = CGM.getContext().getConstantArrayType(ET, ConstVal, nullptr, in collectVarDeclProps()
|