reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
891 Result.FloatVal = cast<ConstantFP>(C)->getValueAPF().convertToFloat(); 894 Result.DoubleVal = cast<ConstantFP>(C)->getValueAPF().convertToDouble(); 899 Result.IntVal = cast <ConstantFP>(C)->getValueAPF().bitcastToAPInt(); 902 Result.IntVal = cast<ConstantInt>(C)->getValue(); 909 Result.PointerVal = nullptr; 911 Result = PTOGV(getPointerToFunctionOrStub(const_cast<Function*>(F))); 913 Result = PTOGV(getOrEmitGlobalVariable(const_cast<GlobalVariable*>(GV))); 935 Result.AggregateVal.resize(elemNum); 941 std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), 941 std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), 948 Result.AggregateVal[i].FloatVal = cast<ConstantFP>( 954 Result.AggregateVal[i].FloatVal = CDV->getElementAsFloat(i); 963 std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), 963 std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), 970 Result.AggregateVal[i].DoubleVal = cast<ConstantFP>( 976 Result.AggregateVal[i].DoubleVal = CDV->getElementAsDouble(i); 985 std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), 985 std::fill(Result.AggregateVal.begin(), Result.AggregateVal.end(), 992 Result.AggregateVal[i].IntVal = cast<ConstantInt>( 995 Result.AggregateVal[i].IntVal = 1002 Result.AggregateVal[i].IntVal = APInt( 1019 return Result;