Home
last modified time | relevance | path

Searched refs:ConstVal (Results 1 – 25 of 46) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dllvm.grm223 ConstVal::= Types "[" ^ ConstVector ^ "]"
244 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
245 | getelementptr OptInBounds "(" ^ ConstVal IndexList ^ ")"
246 | select "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
247 | ArithmeticOps "(" ^ ConstVal ^ "," ConstVal ^ ")"
248 | LogicalOps "(" ^ ConstVal ^ "," ConstVal ^ ")"
249 | icmp IPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")"
250 | fcmp FPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")"
251 | extractelement "(" ^ ConstVal ^ "," ConstVal ^ ")"
252 | insertelement "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
[all …]
/external/llvm/utils/
Dllvm.grm223 ConstVal::= Types "[" ^ ConstVector ^ "]"
244 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
245 | getelementptr OptInBounds "(" ^ ConstVal IndexList ^ ")"
246 | select "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
247 | ArithmeticOps "(" ^ ConstVal ^ "," ConstVal ^ ")"
248 | LogicalOps "(" ^ ConstVal ^ "," ConstVal ^ ")"
249 | icmp IPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")"
250 | fcmp FPredicates "(" ^ ConstVal ^ "," ConstVal ^ ")"
251 | extractelement "(" ^ ConstVal ^ "," ConstVal ^ ")"
252 | insertelement "(" ^ ConstVal ^ "," ConstVal ^ "," ConstVal ^ ")"
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DValueLattice.h58 Constant *ConstVal; member
99 ConstVal = nullptr;
110 ConstVal = Other.ConstVal;
151 return ConstVal; in getConstant()
156 return ConstVal; in getNotConstant()
179 ConstVal = nullptr; in markOverdefined()
198 ConstVal = V; in markConstant()
216 ConstVal = V; in markNotConstant()
/external/llvm/include/llvm/Support/
DYAMLTraits.h498 void enumCase(T &Val, const char* Str, const T ConstVal) {
499 if ( matchEnumScalar(Str, outputting() && Val == ConstVal) ) {
500 Val = ConstVal;
506 void enumCase(T &Val, const char* Str, const uint32_t ConstVal) {
507 if ( matchEnumScalar(Str, outputting() && Val == static_cast<T>(ConstVal)) ) {
508 Val = ConstVal;
523 void bitSetCase(T &Val, const char* Str, const T ConstVal) {
524 if ( bitSetMatch(Str, outputting() && (Val & ConstVal) == ConstVal) ) {
525 Val = Val | ConstVal;
531 void bitSetCase(T &Val, const char* Str, const uint32_t ConstVal) {
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h553 void enumCase(T &Val, const char* Str, const T ConstVal) {
554 if ( matchEnumScalar(Str, outputting() && Val == ConstVal) ) {
555 Val = ConstVal;
561 void enumCase(T &Val, const char* Str, const uint32_t ConstVal) {
562 if ( matchEnumScalar(Str, outputting() && Val == static_cast<T>(ConstVal)) ) {
563 Val = ConstVal;
579 void bitSetCase(T &Val, const char* Str, const T ConstVal) {
580 if ( bitSetMatch(Str, outputting() && (Val & ConstVal) == ConstVal) ) {
581 Val = Val | ConstVal;
587 void bitSetCase(T &Val, const char* Str, const uint32_t ConstVal) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineConstantPool.h71 const Constant *ConstVal; member
81 Val.ConstVal = V; in MachineConstantPoolEntry()
DSelectionDAGNodes.h1672 const Constant *ConstVal;
1685 Val.ConstVal = c;
1705 return Val.ConstVal;
/external/llvm/include/llvm/CodeGen/
DMachineConstantPool.h72 const Constant *ConstVal; member
82 Val.ConstVal = V; in MachineConstantPoolEntry()
DSelectionDAGNodes.h1435 const Constant *ConstVal;
1448 Val.ConstVal = c;
1467 return Val.ConstVal;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp170 Constant *ConstVal = cast<Constant>(Cond.first->getOperand(1)); in addConditions() local
172 setConstantInArgument(CS, Arg, ConstVal); in addConditions()
173 else if (ConstVal->getType()->isPointerTy() && ConstVal->isNullValue()) { in addConditions()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp199 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock() local
201 return ConstVal; in GetValueInMiddleOfBlock()
DMachineFunction.cpp950 return Val.ConstVal->getType(); in getType()
956 return Val.ConstVal->needsRelocation(); in needsRelocation()
1049 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, DL)) { in getConstantPoolIndex()
1086 Constants[i].Val.ConstVal->printAsOperand(OS, /*PrintType=*/false); in print()
DMIRPrinter.cpp458 Constant.Val.ConstVal->printAsOperand(StrOS); in convert()
/external/llvm/lib/CodeGen/
DMachineSSAUpdater.cpp196 if (unsigned ConstVal = InsertedPHI->isConstantValuePHI()) { in GetValueInMiddleOfBlock() local
198 return ConstVal; in GetValueInMiddleOfBlock()
DMachineFunction.cpp870 return Val.ConstVal->getType(); in getType()
876 return Val.ConstVal->needsRelocation(); in needsRelocation()
962 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, DL)) { in getConstantPoolIndex()
999 Constants[i].Val.ConstVal->printAsOperand(OS, /*PrintType=*/false); in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp388 auto *ConstVal = ConstantArray::get(ArrTy, Args); in setCoroInfo() local
389 auto *GV = new GlobalVariable(*M, ConstVal->getType(), /*isConstant=*/true, in setCoroInfo()
390 GlobalVariable::PrivateLinkage, ConstVal, in setCoroInfo()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2466 SDValue ConstVal; in LowerBUILD_VECTOR() local
2489 ConstVal = DAG.getConstant(Res, dl, MVT::i64); in LowerBUILD_VECTOR()
2491 ConstVal = DAG.getConstant(Res, dl, MVT::i32); in LowerBUILD_VECTOR()
2519 const SDValue Ops[] = {ConstVal, Operand, Combined}; in LowerBUILD_VECTOR()
2522 ConstVal = DAG.getNode(HexagonISD::INSERTRP, dl, MVT::i32, Ops); in LowerBUILD_VECTOR()
2524 ConstVal = DAG.getNode(HexagonISD::INSERTRP, dl, MVT::i64, Ops); in LowerBUILD_VECTOR()
2528 return DAG.getNode(ISD::BITCAST, dl, VT, ConstVal); in LowerBUILD_VECTOR()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp562 const Constant *C = CPE.Val.ConstVal; in GetCPISymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp884 static Constant *convert_i1_to_i8(const Constant *ConstVal) { in convert_i1_to_i8() argument
886 const ConstantVector *CV = dyn_cast<ConstantVector>(ConstVal); in convert_i1_to_i8()
890 LLVMContext &Ctx = ConstVal->getContext(); in convert_i1_to_i8()
914 if (const Constant *ConstVal = dyn_cast<Constant>(CPN->getConstVal())) { in LowerConstantPool() local
915 Type *CValTy = ConstVal->getType(); in LowerConstantPool()
918 CVal = convert_i1_to_i8(ConstVal); in LowerConstantPool()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4269 Constant *ConstVal = in GetCaseResults() local
4271 if (!ConstVal) in GetCaseResults()
4275 if (!ValidLookupTableConstant(ConstVal)) in GetCaseResults()
4278 Res.push_back(std::make_pair(PHI, ConstVal)); in GetCaseResults()
4554 ConstantInt *ConstVal = dyn_cast<ConstantInt>(TableContents[I]); in SwitchLookupTable() local
4555 if (!ConstVal) { in SwitchLookupTable()
4561 APInt Val = ConstVal->getValue(); in SwitchLookupTable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4680 Constant *ConstVal = in GetCaseResults() local
4682 if (!ConstVal) in GetCaseResults()
4686 if (!ValidLookupTableConstant(ConstVal, TTI)) in GetCaseResults()
4689 Res.push_back(std::make_pair(&PHI, ConstVal)); in GetCaseResults()
4979 ConstantInt *ConstVal = dyn_cast<ConstantInt>(TableContents[I]); in SwitchLookupTable() local
4980 if (!ConstVal) { in SwitchLookupTable()
4986 const APInt &Val = ConstVal->getValue(); in SwitchLookupTable()
/external/clang/lib/Sema/
DSemaType.cpp2174 llvm::APSInt ConstVal(Context.getTypeSize(Context.getSizeType())); in BuildArrayType() local
2184 isArraySizeVLA(*this, ArraySize, ConstVal)) { in BuildArrayType()
2201 if (ConstVal.isSigned() && ConstVal.isNegative()) { in BuildArrayType()
2210 if (ConstVal == 0) { in BuildArrayType()
2228 = ConstantArrayType::getNumAddressingBits(Context, T, ConstVal); in BuildArrayType()
2231 << ConstVal.toString(10) in BuildArrayType()
2237 T = Context.getConstantArrayType(T, ConstVal, ASM, Quals); in BuildArrayType()
DSemaChecking.cpp7564 enum ConstantValue ConstVal = Zero; in DiagnoseOutOfRangeComparison() local
7569 ConstVal = Zero; in DiagnoseOutOfRangeComparison()
7573 ConstVal = One; in DiagnoseOutOfRangeComparison()
7576 ConstVal = GT_One; in DiagnoseOutOfRangeComparison()
7579 ConstVal = LT_Zero; in DiagnoseOutOfRangeComparison()
7586 CmpRes = TruthTable.BO_LT_OP[RhsConstant][ConstVal]; in DiagnoseOutOfRangeComparison()
7589 CmpRes = TruthTable.BO_GT_OP[RhsConstant][ConstVal]; in DiagnoseOutOfRangeComparison()
7592 CmpRes = TruthTable.BO_LE_OP[RhsConstant][ConstVal]; in DiagnoseOutOfRangeComparison()
7595 CmpRes = TruthTable.BO_GE_OP[RhsConstant][ConstVal]; in DiagnoseOutOfRangeComparison()
7598 CmpRes = TruthTable.BO_EQ_OP[RhsConstant][ConstVal]; in DiagnoseOutOfRangeComparison()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1618 C = CPE.Val.ConstVal; in EmitConstantPool()
1674 EmitGlobalConstant(getDataLayout(), CPE.Val.ConstVal); in EmitConstantPool()
2673 const Constant *C = CPE.Val.ConstVal; in GetCPISymbol()
/external/llvm/lib/Target/Mips/
DMipsAsmPrinter.cpp172 EmitGlobalConstant(MF->getDataLayout(), MCPE.Val.ConstVal); in EmitInstruction()

12